From: Øyvind Harboe Date: Tue, 18 May 2010 10:10:24 +0000 (+0200) Subject: zy1000: fix false positive warning about unitialized local variable X-Git-Tag: v0.5.0-rc1~679 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e804a34a632345effd706872605a0cc382a4da70;p=openocd zy1000: fix false positive warning about unitialized local variable Signed-off-by: Øyvind Harboe --- 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 (;;) {