summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-13 14:41:23 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-13 14:41:23 +0000
commitfbb46cfaff7c0d105ebe56956c343493a25381d6 (patch)
treeda039eb80fd86e5285e702e2d6d98437d7d4311a /src
parentb38f2bb60e4effd4ed0f6f611603593aeea4eec5 (diff)
downloadopenocd+libswd-fbb46cfaff7c0d105ebe56956c343493a25381d6.tar.gz
openocd+libswd-fbb46cfaff7c0d105ebe56956c343493a25381d6.tar.bz2
openocd+libswd-fbb46cfaff7c0d105ebe56956c343493a25381d6.tar.xz
openocd+libswd-fbb46cfaff7c0d105ebe56956c343493a25381d6.zip
fix warning.
git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c1
1 files changed, 0 insertions, 1 deletions
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;
}