This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: remove an ld warning
- From: Ben Elliston <bje+dated+1122364205 dot b088e0 at air dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Thu, 21 Jul 2005 17:50:02 +1000
- Subject: PATCH: remove an ld warning
I've double checked and I'm quite sure that this variable is unused.
What I can't be sure about is why I didn't remove it when I made it
static back on 2005-04-29. :-)
Okay for mainline?
2005-07-21 Ben Elliston <bje@gnu.org>
* ldgram.y (ldgram_want_filename): Remove unused static.
Index: ldgram.y
===================================================================
RCS file: /cvs/src/src/ld/ldgram.y,v
retrieving revision 1.43
diff -u -r1.43 ldgram.y
--- ldgram.y 9 Jun 2005 02:05:46 -0000 1.43
+++ ldgram.y 21 Jul 2005 07:46:52 -0000
@@ -48,7 +48,6 @@
static enum section_type sectype;
static lang_memory_region_type *region;
-static bfd_boolean ldgram_want_filename = TRUE;
FILE *saved_script_handle = NULL;
bfd_boolean force_make_executable = FALSE;