diff options
author | Jamie Madill <jmadill@chromium.org> | 2017-01-11 15:51:01 -0500 |
---|---|---|
committer | Mark Young <marky@lunarg.com> | 2017-01-12 08:14:22 -0700 |
commit | bcb80d06bbdc0910792549c7399d4ac43a94ea09 (patch) | |
tree | 7a9e385ac43cdb41272f21196ac683c1ed93a10e /loader | |
parent | 242a9c9379564b08b9b8ae197c4088e53ea49015 (diff) |
loader: Fix variable shadowing warning.
Change-Id: I71916c5300c24158901123f775b7b2fec3293e5b
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index 108ab0c1..4179106c 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -4871,8 +4871,8 @@ out: } else { // Otherwise, we've encountered an error, so we should free the // new buffers. - for (uint32_t i = 0; i < copy_count; i++) { - loader_instance_heap_free(inst, new_phys_devs[i]); + for (uint32_t j = 0; j < copy_count; j++) { + loader_instance_heap_free(inst, new_phys_devs[j]); } loader_instance_heap_free(inst, new_phys_devs); |