aboutsummaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-01-09 21:43:27 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-12 20:38:51 +0000
commit06d1580ff77e6b685af07f15fa01710de85c4c2e (patch)
tree72624924f47af915bab7c4f7c476b78c1c6c2ee4 /src/xsvf
parentcd22bedf6fd7202a3c788184aa08e0ae2e7b662f (diff)
downloadriscv-openocd-06d1580ff77e6b685af07f15fa01710de85c4c2e.zip
riscv-openocd-06d1580ff77e6b685af07f15fa01710de85c4c2e.tar.gz
riscv-openocd-06d1580ff77e6b685af07f15fa01710de85c4c2e.tar.bz2
xsvf: fix clang warning
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>
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 9fda8e3..5699d57 100644
--- 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;