This is the mail archive of the binutils@sources.redhat.com 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]

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;
 


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