This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Remove an unused variable in elflink.h
- To: binutils at sourceware dot cygnus dot com
- Subject: PATCH: Remove an unused variable in elflink.h
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Wed, 9 May 2001 13:31:06 -0700
I am about to check in this patch. Any objections?
H.J.
----
Index: elflink.h
===================================================================
RCS file: /work/cvs/gnu/binutils/bfd/elflink.h,v
retrieving revision 1.58
diff -u -p -r1.58 elflink.h
--- elflink.h 2001/05/03 06:45:26 1.58
+++ elflink.h 2001/05/09 20:28:52
@@ -907,7 +907,6 @@ elf_link_add_object_symbols (abfd, info)
Elf_External_Sym *buf = NULL;
struct elf_link_hash_entry **sym_hash;
boolean dynamic;
- bfd_byte *dynver = NULL;
Elf_External_Versym *extversym = NULL;
Elf_External_Versym *ever;
Elf_External_Dyn *dynbuf = NULL;
@@ -2198,8 +2197,6 @@ elf_link_add_object_symbols (abfd, info)
free (buf);
if (dynbuf != NULL)
free (dynbuf);
- if (dynver != NULL)
- free (dynver);
if (extversym != NULL)
free (extversym);
return false;