fix warning.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 13 Aug 2008 14:41:23 +0000 (14:41 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 13 Aug 2008 14:41:23 +0000 (14:41 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index c28858ee77d91a5b364123c8ba547a7a5c74bca8..d1ee1bbbeba2f3955338e7d8099dd45564a74356 100644 (file)
@@ -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;
        }