aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-09-15 16:41:35 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-09-15 16:41:35 +0200
commit0eb0a40713c6479e782e5a257793d28f647e38bd (patch)
treea844e7a515ec8051256b514b46313aca933216a7
parent3f8a7804287d3153fb4a8676b7304e67cca32be4 (diff)
downloadgdb-0eb0a40713c6479e782e5a257793d28f647e38bd.zip
gdb-0eb0a40713c6479e782e5a257793d28f647e38bd.tar.gz
gdb-0eb0a40713c6479e782e5a257793d28f647e38bd.tar.bz2
linux-low: Remove unused variables
gdb/gdbserver/ChangeLog: * linux-low.c (linux_set_resume_request): Remove unused variables.
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-low.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c4576fd..45274a4 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index a7859cc..1d96ec2 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -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