projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix warning: remove assigned to variable
[fw/openocd]
/
src
/
flash
/
nor
/
pic32mx.c
diff --git
a/src/flash/nor/pic32mx.c
b/src/flash/nor/pic32mx.c
index 69321ac3eba9e9defa4c4c3a9cabb01bd7b7f3f0..65d93ad40e1b8188180dbae9a9207f15c8824dda 100644
(file)
--- a/
src/flash/nor/pic32mx.c
+++ b/
src/flash/nor/pic32mx.c
@@
-724,7
+724,7
@@
static int pic32mx_info(struct flash_bank *bank, char *buf, int buf_size)
buf += printed;
buf_size -= printed;
-
printed =
snprintf(buf, buf_size, " Ver: 0x%02x",
+ snprintf(buf, buf_size, " Ver: 0x%02x",
(unsigned)((device_id >> 28) & 0xf));
return ERROR_OK;