Silence -O3 warning
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 7 Jun 2011 15:58:41 +0000 (17:58 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 7 Jun 2011 15:58:41 +0000 (17:58 +0200)
src/jtag/core.c

index 0a9d72a..22d0b8c 100644 (file)
@@ -1672,7 +1672,7 @@ int jtag_get_speed(int *speed)
 
 int jtag_get_speed_readable(int *khz)
 {
-       int jtag_speed_var;
+       int jtag_speed_var = 0;
        int retval = jtag_get_speed(&jtag_speed_var);
        if (retval != ERROR_OK)
                return retval;