diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:29:08 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:29:08 +0200 |
commit | 90454525b6119b95226e02754d3a5c6e125c5922 (patch) | |
tree | 49cca9f1572d87556223a21016513f1cd52962ed /src/flash/nor | |
parent | 4d0d649ef9a066c8662e2ffcc597614fe917fefc (diff) | |
download | openocd_libswd-90454525b6119b95226e02754d3a5c6e125c5922.tar.gz openocd_libswd-90454525b6119b95226e02754d3a5c6e125c5922.tar.bz2 openocd_libswd-90454525b6119b95226e02754d3a5c6e125c5922.tar.xz openocd_libswd-90454525b6119b95226e02754d3a5c6e125c5922.zip |
flash: -Wshadow warning fix
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r-- | src/flash/nor/tcl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 28a504e7..3dc6cff3 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -467,7 +467,7 @@ COMMAND_HANDLER(handle_flash_fill_command) uint32_t cur_size = 0; uint32_t chunk_count; struct target *target = get_current_target(CMD_CTX); - uint32_t i; + unsigned i; uint32_t wordsize; int retval = ERROR_OK; @@ -563,7 +563,6 @@ COMMAND_HANDLER(handle_flash_fill_command) goto done; } - unsigned i; for (i = 0; i < cur_size; i++) { if (readback[i]!=chunk[i]) |