From 83a559f7b93f2a06306e46d0d9ac094c599396ae Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Thu, 8 Apr 2021 15:22:41 -0400 Subject: [PATCH] Remove unused variable un darwin_nat_target::resume gdb/ChangeLog: * darwin-nat.c (darwin_nat_target::resume): Remove status variable. Change-Id: Ibcbdd6641a12252840c7dea9f388f4f8ce265e3d --- 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 + + * darwin-nat.c (darwin_nat_target::resume): Remove status + variable. + 2021-04-08 Felix Willgerodt * 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 -- 2.30.2