From: Øyvind H. <go...@us...> - 2010-06-15 23:29:37
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 90454525b6119b95226e02754d3a5c6e125c5922 (commit) from 4d0d649ef9a066c8662e2ffcc597614fe917fefc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 90454525b6119b95226e02754d3a5c6e125c5922 Author: Ãyvind Harboe <oyv...@zy...> Date: Tue Jun 15 23:29:08 2010 +0200 flash: -Wshadow warning fix Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 28a504e..3dc6cff 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]) ----------------------------------------------------------------------- Summary of changes: src/flash/nor/tcl.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |