projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d0d649
)
flash: -Wshadow warning fix
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:29:08 +0000
(23:29 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:29:08 +0000
(23:29 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/tcl.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/tcl.c
b/src/flash/nor/tcl.c
index 28a504e701bfaf42f0b2fa4b74fc96f2075c8b66..3dc6cff3fd47bce92ea9776832348856431c7a2d 100644
(file)
--- 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);
- u
int32_t
i;
+ u
nsigned
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])