aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-09-12 17:43:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-09-12 16:11:07 -0700
commitf117a62c5debd8a46fb4f76eba784d433d1bb875 (patch)
treeae64e7dc4d76473f985d7cfd18f2dbed92bd391b
parent88f22c34d0f39ee4aca87940bff2cbf47e64b9d7 (diff)
downloadgdb-f117a62c5debd8a46fb4f76eba784d433d1bb875.zip
gdb-f117a62c5debd8a46fb4f76eba784d433d1bb875.tar.gz
gdb-f117a62c5debd8a46fb4f76eba784d433d1bb875.tar.bz2
Remove unused "tmp" variable.
gdb/ChangeLog: * fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/fbsd-nat.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3106a6f..454c45f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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
typo.
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index a255318..2b829bf 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;