fix warning.
git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
b38f2bb60e
commit
fbb46cfaff
|
@ -1940,7 +1940,6 @@ int handle_jtag_khz_command(struct command_context_s *cmd_ctx, char *cmd, char *
|
||||||
|
|
||||||
if (jtag!=NULL)
|
if (jtag!=NULL)
|
||||||
{
|
{
|
||||||
int what_speed;
|
|
||||||
if ((retval=jtag->speed_div(jtag_speed, &speed_khz))!=ERROR_OK)
|
if ((retval=jtag->speed_div(jtag_speed, &speed_khz))!=ERROR_OK)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue