build: fix build from previous commit

commit 740b9e25b4 broke the drivers
for ftdi and parport due to retval already being defined.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2010-12-08 19:54:10 +00:00
parent 740b9e25b4
commit fa46805481
2 changed files with 2 additions and 2 deletions

View File

@ -2396,7 +2396,7 @@ static int ft2232_init(void)
}
int jtag_speed_var;
int retval = jtag_get_speed(&jtag_speed_var);
retval = jtag_get_speed(&jtag_speed_var);
if (retval != ERROR_OK)
return retval;
ft2232_speed(jtag_speed_var);

View File

@ -477,7 +477,7 @@ COMMAND_HANDLER(parport_handle_parport_toggling_time_command)
}
parport_toggling_time_ns = ns;
int retval = jtag_get_speed(&wait_states);
retval = jtag_get_speed(&wait_states);
if (retval != ERROR_OK)
return retval;
}