From 06d1580ff77e6b685af07f15fa01710de85c4c2e Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 9 Jan 2012 21:43:27 +0000 Subject: [PATCH] xsvf: fix clang warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/xsvf/xsvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;