projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd22bed
)
xsvf: fix clang warning
author
Spencer Oliver
<spen@spen-soft.co.uk>
Mon, 9 Jan 2012 21:43:27 +0000
(21:43 +0000)
committer
Spencer Oliver
<spen@spen-soft.co.uk>
Thu, 12 Jan 2012 20:38:51 +0000
(20:38 +0000)
clang reports 'Function call argument is an uninitialized value'.
Change-Id: I50f4a7932b59930a5f1e3ece70b12c59e85ea3c6
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/360
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/xsvf/xsvf.c
patch
|
blob
|
history
diff --git
a/src/xsvf/xsvf.c
b/src/xsvf/xsvf.c
index 9fda8e382ddcfbf316da376643e2c686c68b756f..5699d57fedd398294a59c6597ad2bdeafae11d4a 100644
(file)
--- a/
src/xsvf/xsvf.c
+++ b/
src/xsvf/xsvf.c
@@
-189,7
+189,7
@@
COMMAND_HANDLER(handle_xsvf_command)
tap_state_t xenddr = TAP_IDLE;
uint8_t opcode;
- uint8_t uc;
+ uint8_t uc
= 0
;
long file_offset = 0;
int loop_count = 0;