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/jtag/zy1000 | |
parent | e92b203a768731fdbc1499c59b0a60e1a2b290a7 (diff) | |
download | riscv-openocd-e804a34a632345effd706872605a0cc382a4da70.zip riscv-openocd-e804a34a632345effd706872605a0cc382a4da70.tar.gz riscv-openocd-e804a34a632345effd706872605a0cc382a4da70.tar.bz2 |
zy1000: fix false positive warning about unitialized local variable
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/zy1000')
-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 b3f94e5..442a09f 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 (;;) { |