Remove unused "tmp" variable.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 12 Sep 2018 17:43:13 +0000 (17:43 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 12 Sep 2018 23:11:07 +0000 (16:11 -0700)
gdb/ChangeLog:

* fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable.

gdb/ChangeLog
gdb/fbsd-nat.c

index 3106a6f33b55abf8bd2b3d6845286653d4f7b803..454c45f9ad4f1e1d5c09672adcdeacb44fdaec19 100644 (file)
@@ -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
index a255318d14111942df9b199f01e42a62e59d6c23..2b829bfc3b44d2efaa1cec706cc934420e2747a3 100644 (file)
@@ -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;