Remove an unused variable.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 17:06:33 +0000 (09:06 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 17:06:33 +0000 (09:06 -0800)
binutils/ChangeLog:

* readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.

binutils/ChangeLog
binutils/readelf.c

index 1636045..24e2afe 100644 (file)
@@ -1,5 +1,9 @@
 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
 
+       * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
+
+2016-01-19  John Baldwin  <jhb@FreeBSD.org>
+
        * readelf.c (get_freebsd_elfcore_note_type): New
        (process_note): Add support for FreeBSD core notes.
 
index 01e3923..b4aaf51 100644 (file)
@@ -15413,8 +15413,6 @@ process_netbsd_elf_note (Elf_Internal_Note * pnote)
 static const char *
 get_freebsd_elfcore_note_type (unsigned e_type)
 {
-  static char buff[64];
-
   switch (e_type)
     {
     case NT_FREEBSD_THRMISC: