diff options
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 |
commit | e804a34a632345effd706872605a0cc382a4da70 (patch) | |
tree | dccf53bac72b653b0cb0baa371ac56589489a905 /src | |
parent | e92b203a768731fdbc1499c59b0a60e1a2b290a7 (diff) | |
download | openocd_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.c | 2 |
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 (;;) { |