This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove an unused variable.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=40068dccc4f9c86cb9e7c425c4ab3e272312affb

commit 40068dccc4f9c86cb9e7c425c4ab3e272312affb
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Tue Jan 19 09:06:33 2016 -0800

    Remove an unused variable.
    
    binutils/ChangeLog:
    
    	* readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.

Diff:
---
 binutils/ChangeLog | 4 ++++
 binutils/readelf.c | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1636045..24e2afe 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
 
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 01e3923..b4aaf51 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]