diff options
Diffstat (limited to 'gdb/ser-mingw.c')
-rw-r--r-- | gdb/ser-mingw.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c index 605a071..937b66d 100644 --- a/gdb/ser-mingw.c +++ b/gdb/ser-mingw.c @@ -321,9 +321,8 @@ ser_windows_read_prim (struct serial *scb, size_t count) { struct ser_windows_state *state; OVERLAPPED ov; - DWORD bytes_read, bytes_read_tmp; + DWORD bytes_read; HANDLE h; - gdb_byte *p; state = (struct ser_windows_state *) scb->state; if (state->in_progress) @@ -351,7 +350,6 @@ ser_windows_read_prim (struct serial *scb, size_t count) static int ser_windows_write_prim (struct serial *scb, const void *buf, size_t len) { - struct ser_windows_state *state; OVERLAPPED ov; DWORD bytes_written; HANDLE h; @@ -634,7 +632,6 @@ pipe_select_thread (void *arg) { struct serial *scb = (struct serial *) arg; struct ser_console_state *state; - int event_index; HANDLE h; state = (struct ser_console_state *) scb->state; @@ -677,7 +674,6 @@ file_select_thread (void *arg) { struct serial *scb = (struct serial *) arg; struct ser_console_state *state; - int event_index; HANDLE h; state = (struct ser_console_state *) scb->state; @@ -1188,7 +1184,6 @@ net_windows_open (struct serial *scb, const char *name) { struct net_windows_state *state; int ret; - DWORD threadId; ret = net_open (scb, name); if (ret != 0) @@ -1347,7 +1342,6 @@ void _initialize_ser_windows (void) { WSADATA wsa_data; - struct serial_ops *ops; HMODULE hm = NULL; |