zy1000: fix false positive warning about unitialized local variable

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2010-05-18 12:10:24 +02:00
parent e92b203a76
commit e804a34a63

View File

@ -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 (;;)
{