Warnings cleanup ... finish up earlier commit
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 22:43:56 +0000 (22:43 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 22:43:56 +0000 (22:43 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1289 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/vsllink.c

index 214ff80618cacb82f44b91c63329ec949e9ad0d2..cc85c5c1d2cee19a41f62309236df09b85a3b234 100644 (file)
@@ -200,8 +200,8 @@ void vsllink_reset(int trst, int srst);
 void vsllink_simple_command(u8 command);
 
 /* VSLLink tap buffer functions */
-void vsllink_tap_init();
-int vsllink_tap_execute();
+void vsllink_tap_init(void);
+int vsllink_tap_execute(void);
 void vsllink_tap_ensure_space(int scans, int bytes);
 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);
        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 pending_scan_result_t pending_scan_results_buffer[MAX_PENDING_SCAN_RESULTS];
 
-static int last_tms;
 
 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. */
 int vsllink_tap_execute()
 {
-       int i, j;
+       int i;
        int result;
        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 result;
-       int result2;
        
        result = vsllink_usb_write(vsllink_jtag, out_length);
        if (result == out_length)

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)