projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc50a42
)
flash/nor/stellaris: remove dead assignment
author
Paul Fertser
<fercerpav@gmail.com>
Thu, 26 Feb 2015 16:42:08 +0000
(19:42 +0300)
committer
Paul Fertser
<fercerpav@gmail.com>
Mon, 9 Mar 2015 06:33:53 +0000
(06:33 +0000)
Found by clang static checker.
Change-Id: Ifa58ba383092341c7343916e5cc8ec3c72ab2f60
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2560
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stellaris.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/stellaris.c
b/src/flash/nor/stellaris.c
index c4fe3be9edccf61edf6d8effb8529b70649a95e2..664b6d03d24dd744d649c78b1ffc6eddd47212df 100644
(file)
--- a/
src/flash/nor/stellaris.c
+++ b/
src/flash/nor/stellaris.c
@@
-516,7
+516,7
@@
static int get_stellaris_info(struct flash_bank *bank, char *buf, int buf_size)
buf += printed;
buf_size -= printed;
-
printed =
snprintf(buf,
+ snprintf(buf,
buf_size,
"master clock: %ikHz%s, "
"rcc is 0x%" PRIx32 ", rcc2 is 0x%" PRIx32 ", "