PATCH: remove an ld warning

Ben Elliston bje+dated+1122364205.b088e0@air.net.au
Thu Jul 21 07:50:00 GMT 2005


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;
 



More information about the Binutils mailing list