linux-low: Remove unused variables
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 15 Sep 2017 14:41:35 +0000 (16:41 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 15 Sep 2017 14:41:35 +0000 (16:41 +0200)
gdb/gdbserver/ChangeLog:

* linux-low.c (linux_set_resume_request): Remove unused
variables.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index c4576fd..45274a4 100644 (file)
@@ -1,5 +1,10 @@
 2017-09-15  Simon Marchi  <simon.marchi@ericsson.com>
 
+       * linux-low.c (linux_set_resume_request): Remove unused
+       variables.
+
+2017-09-15  Simon Marchi  <simon.marchi@ericsson.com>
+
        * server.c (first_thread_of): Remove.
        (process_serial_event): Replace usage of first_thread_of with
        find_any_thread_of_pid.
index a7859cc..1d96ec2 100644 (file)
@@ -4711,7 +4711,6 @@ linux_set_resume_request (struct inferior_list_entry *entry, void *arg)
             does not yet know are new fork children.  */
          if (lwp->fork_relative != NULL)
            {
-             struct inferior_list_entry *inf, *tmp;
              struct lwp_info *rel = lwp->fork_relative;
 
              if (rel->status_pending_p