zy1000: fix false positive warning about unitialized local variable
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
e92b203a76
commit
e804a34a63
|
@ -181,7 +181,7 @@ void zy1000_reset(int trst, int srst)
|
||||||
(!srst && !trst && (jtag_get_reset_config() & RESET_TRST_PULLS_SRST)))
|
(!srst && !trst && (jtag_get_reset_config() & RESET_TRST_PULLS_SRST)))
|
||||||
{
|
{
|
||||||
bool first = true;
|
bool first = true;
|
||||||
long long start;
|
long long start = 0;
|
||||||
long total = 0;
|
long total = 0;
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue