[binutils-gdb] Remove unused variable un darwin_nat_target::resume
Simon Marchi
simark@sourceware.org
Thu Apr 8 19:23:14 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=83a559f7b93f2a06306e46d0d9ac094c599396ae
commit 83a559f7b93f2a06306e46d0d9ac094c599396ae
Author: Dominique Quatravaux <dominique.quatravaux@epfl.ch>
Date: Thu Apr 8 15:22:41 2021 -0400
Remove unused variable un darwin_nat_target::resume
gdb/ChangeLog:
* darwin-nat.c (darwin_nat_target::resume): Remove status
variable.
Change-Id: Ibcbdd6641a12252840c7dea9f388f4f8ce265e3d
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/darwin-nat.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2fd9122017..136eb87a764 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-08 Dominique Quatravaux <dominique.quatravaux@epfl.ch>
+
+ * darwin-nat.c (darwin_nat_target::resume): Remove status
+ variable.
+
2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com>
* i386-tdep.c (i386_skip_prologue): Use symbol table to find the
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 587f5317416..a6790792fb6 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -903,8 +903,6 @@ darwin_suspend_inferior_threads (struct inferior *inf)
void
darwin_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
{
- struct target_waitstatus status;
-
int nsignal;
inferior_debug
More information about the Gdb-cvs
mailing list