diff mbox

[PUSHED,OBV] Remove unused "tmp" variable.

Message ID 20180912232340.42824-2-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Sept. 12, 2018, 11:23 p.m. UTC
gdb/ChangeLog:

	* fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable.
---
 gdb/ChangeLog  | 4 ++++
 gdb/fbsd-nat.c | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3106a6f33b..454c45f9ad 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-09-12  John Baldwin  <jhb@FreeBSD.org>
+
+	* fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable.
+
 2018-09-12  John Baldwin  <jhb@FreeBSD.org>
 
 	* aarch64-fbsd-tdep.h (AARCH64_FBSD_SIZEOF_GREGSET): Fix comment
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index a255318d14..2b829bfc3b 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -261,7 +261,6 @@  fbsd_nat_target::info_proc (const char *args, enum info_proc_what what)
   int nfd = 0;
 #endif
   struct kinfo_proc kp;
-  char *tmp;
   pid_t pid;
   bool do_cmdline = false;
   bool do_cwd = false;