mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
zy1000: fix false positive warning about unitialized local variable
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -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 (;;)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user