From: Øyvind Harboe Date: Tue, 7 Jun 2011 15:58:41 +0000 (+0200) Subject: Silence -O3 warning X-Git-Tag: v0.5.0-rc1~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33f9bec9ec5fe370e7a1398c53a7e97409f669ba;p=openocd Silence -O3 warning --- diff --git a/src/jtag/core.c b/src/jtag/core.c index 0a9d72a8..22d0b8c3 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -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;