build: remove unused variables

detected by clang.

Change-Id: Id9effcc5437870f37fecd33803f7753c6eca53d6
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/361
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
This commit is contained in:
Spencer Oliver
2012-01-09 22:04:03 +00:00
parent 32d3063cf5
commit 5f83378a9c
3 changed files with 0 additions and 7 deletions

View File

@@ -3008,7 +3008,6 @@ sam3_write(struct flash_bank *bank,
goto done;
}
buffer += count;
count -= count;
}
LOG_DEBUG("Done!");
r = ERROR_OK;
@@ -3029,7 +3028,6 @@ COMMAND_HANDLER(sam3_handle_info_command)
unsigned x;
int r;
r = 0;
// bank0 must exist before we can do anything
if (pChip->details.bank[0].pBank == NULL) {
@@ -3114,13 +3112,11 @@ COMMAND_HANDLER(sam3_handle_gpnvm_command)
}
}
switch (CMD_ARGC) {
default:
return ERROR_COMMAND_SYNTAX_ERROR;
break;
case 0:
who = -1;
goto showall;
break;
case 1: