From: Spencer Oliver Date: Mon, 9 Jan 2012 21:43:27 +0000 (+0000) Subject: xsvf: fix clang warning X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=06d1580ff77e6b685af07f15fa01710de85c4c2e;p=fw%2Fopenocd xsvf: fix clang warning clang reports 'Function call argument is an uninitialized value'. Change-Id: I50f4a7932b59930a5f1e3ece70b12c59e85ea3c6 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/360 Tested-by: jenkins Reviewed-by: Øyvind Harboe --- diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 9fda8e382..5699d57fe 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;