summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-05-18 12:10:24 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-05-18 12:10:44 +0200
commite804a34a632345effd706872605a0cc382a4da70 (patch)
treedccf53bac72b653b0cb0baa371ac56589489a905 /src
parente92b203a768731fdbc1499c59b0a60e1a2b290a7 (diff)
downloadopenocd+libswd-e804a34a632345effd706872605a0cc382a4da70.tar.gz
openocd+libswd-e804a34a632345effd706872605a0cc382a4da70.tar.bz2
openocd+libswd-e804a34a632345effd706872605a0cc382a4da70.tar.xz
openocd+libswd-e804a34a632345effd706872605a0cc382a4da70.zip
zy1000: fix false positive warning about unitialized local variable
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/zy1000/zy1000.c2
1 files changed, 1 insertions, 1 deletions
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 (;;)
{