From e804a34a632345effd706872605a0cc382a4da70 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Tue, 18 May 2010 12:10:24 +0200 Subject: zy1000: fix false positive warning about unitialized local variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/jtag/zy1000/zy1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c index b3f94e5c..442a09fb 100644 --- a/src/jtag/zy1000/zy1000.c +++ b/src/jtag/zy1000/zy1000.c @@ -181,7 +181,7 @@ void zy1000_reset(int trst, int srst) (!srst && !trst && (jtag_get_reset_config() & RESET_TRST_PULLS_SRST))) { bool first = true; - long long start; + long long start = 0; long total = 0; for (;;) { -- cgit v1.2.3