Remove unused variable in windows-nat.c
authorPedro Alves <palves@redhat.com>
Thu, 21 Jul 2016 11:23:48 +0000 (12:23 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 21 Jul 2016 14:30:03 +0000 (15:30 +0100)
Leave the call for side effects.

gdb/ChangeLog:
2016-07-21  Pedro Alves  <palves@redhat.com>

* windows-nat.c (handle_exception): Remove "th".

gdb/ChangeLog
gdb/windows-nat.c

index d074a3de23049944a7824ab4d71c645312814f50..5eeec97f8ecc460902b4b2eb58be94208fe1dde2 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-21  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (handle_exception): Remove "th".
+
 2016-07-21  Pedro Alves  <palves@redhat.com>
 
        * varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
index 149403ae0c5f22152a76002c952b4ebc37bac024..c95dc9a3c59f51e63ea870dbb0060737d6438e32 100644 (file)
@@ -1014,13 +1014,12 @@ display_selectors (char * args, int from_tty)
 static int
 handle_exception (struct target_waitstatus *ourstatus)
 {
-  windows_thread_info *th;
   DWORD code = current_event.u.Exception.ExceptionRecord.ExceptionCode;
 
   ourstatus->kind = TARGET_WAITKIND_STOPPED;
 
   /* Record the context of the current thread.  */
-  th = thread_rec (current_event.dwThreadId, -1);
+  thread_rec (current_event.dwThreadId, -1);
 
   switch (code)
     {
This page took 0.02895 seconds and 4 git commands to generate.