Warnings cleanup ... finish up earlier commit

git-svn-id: svn://svn.berlios.de/openocd/trunk@1289 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
duane 2008-12-27 22:43:56 +00:00
parent 8939333f51
commit dd2d2ad767
1 changed files with 4 additions and 6 deletions

View File

@ -200,8 +200,8 @@ void vsllink_reset(int trst, int srst);
void vsllink_simple_command(u8 command); void vsllink_simple_command(u8 command);
/* VSLLink tap buffer functions */ /* VSLLink tap buffer functions */
void vsllink_tap_init(); void vsllink_tap_init(void);
int vsllink_tap_execute(); int vsllink_tap_execute(void);
void vsllink_tap_ensure_space(int scans, int bytes); void vsllink_tap_ensure_space(int scans, int bytes);
void vsllink_tap_append_scan(int length, u8 *buffer, scan_command_t *command, int offset); void vsllink_tap_append_scan(int length, u8 *buffer, scan_command_t *command, int offset);
@ -971,7 +971,7 @@ void vsllink_reset(int trst, int srst)
result = vsllink_usb_write(vsllink_jtag_handle, 3); result = vsllink_usb_write(vsllink_jtag_handle, 3);
if (result != 3) if (result != 3)
{ {
LOG_ERROR("VSLLink command VSLLINK_CMD_SET_PORT failed (%d)"); LOG_ERROR("VSLLink command VSLLINK_CMD_SET_PORT failed (%d)", result);
} }
} }
@ -1054,7 +1054,6 @@ typedef struct
static int pending_scan_results_length; static int pending_scan_results_length;
static pending_scan_result_t pending_scan_results_buffer[MAX_PENDING_SCAN_RESULTS]; static pending_scan_result_t pending_scan_results_buffer[MAX_PENDING_SCAN_RESULTS];
static int last_tms;
void vsllink_tap_init() void vsllink_tap_init()
{ {
@ -1106,7 +1105,7 @@ void vsllink_tap_append_scan(int length, u8 *buffer, scan_command_t *command, in
* For the purpose of padding we assume that we are in idle or pause state. */ * For the purpose of padding we assume that we are in idle or pause state. */
int vsllink_tap_execute() int vsllink_tap_execute()
{ {
int i, j; int i;
int result; int result;
int first = 0; int first = 0;
@ -1242,7 +1241,6 @@ void vsllink_usb_close(vsllink_jtag_t *vsllink_jtag)
int vsllink_usb_message(vsllink_jtag_t *vsllink_jtag, int out_length, int in_length) int vsllink_usb_message(vsllink_jtag_t *vsllink_jtag, int out_length, int in_length)
{ {
int result; int result;
int result2;
result = vsllink_usb_write(vsllink_jtag, out_length); result = vsllink_usb_write(vsllink_jtag, out_length);
if (result == out_length) if (result == out_length)