diff options
author | Freddie Chopin <freddie_chopin@op.pl> | 2011-06-03 22:10:03 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-06-04 09:35:13 +0200 |
commit | f6315d5e5b7b71515ef051711e5f818a42d6b3b3 (patch) | |
tree | 197f51e416132298d9c2571163e2be72e735c115 /src/flash/nor/stm32x.c | |
parent | ae02a0e51708d292b4dff67c12baef1b62b367fa (diff) |
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
Diffstat (limited to 'src/flash/nor/stm32x.c')
-rw-r--r-- | src/flash/nor/stm32x.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index 3914d25c..b4300bef 100644 --- a/src/flash/nor/stm32x.c +++ b/src/flash/nor/stm32x.c @@ -1217,7 +1217,6 @@ COMMAND_HANDLER(stm32x_handle_lock_command) COMMAND_HANDLER(stm32x_handle_unlock_command) { struct target *target = NULL; - struct stm32x_flash_bank *stm32x_info = NULL; if (CMD_ARGC < 1) { @@ -1230,8 +1229,6 @@ COMMAND_HANDLER(stm32x_handle_unlock_command) if (ERROR_OK != retval) return retval; - stm32x_info = bank->driver_priv; - target = bank->target; if (target->state != TARGET_HALTED) |