From: oharboe Date: Wed, 13 Aug 2008 14:41:23 +0000 (+0000) Subject: fix warning. X-Git-Tag: v0.1.0~388 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fbb46cfaff7c0d105ebe56956c343493a25381d6;p=openocd fix warning. git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index c28858ee..d1ee1bbb 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -1940,7 +1940,6 @@ int handle_jtag_khz_command(struct command_context_s *cmd_ctx, char *cmd, char * if (jtag!=NULL) { - int what_speed; if ((retval=jtag->speed_div(jtag_speed, &speed_khz))!=ERROR_OK) return retval; }