From 40068dccc4f9c86cb9e7c425c4ab3e272312affb Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 19 Jan 2016 09:06:33 -0800 Subject: [PATCH] Remove an unused variable. binutils/ChangeLog: * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 16360453dc..24e2afea4c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2016-01-19 John Baldwin + + * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable. + 2016-01-19 John Baldwin * readelf.c (get_freebsd_elfcore_note_type): New diff --git a/binutils/readelf.c b/binutils/readelf.c index 01e3923d85..b4aaf51ace 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: -- 2.34.1