This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

[commit] Properly remove a warning message caused by ada-lex.l


I have committed the following patch.

ChangeLog:

2004-10-09  Paul Hilfinger  <hilfingr@nile.gnat.com>

	* ada-lex.l: Remove useless rule whose right-context clause
	causes unreferenced static function warning for yyrealloc.
	(ada_flex_use): Remove the artificial reference to yyrealloc.


Index: gdb/ada-lex.l
===================================================================
RCS file: /cvs/src/src/gdb/ada-lex.l,v
retrieving revision 1.9
diff -u -p -r1.9 ada-lex.l
--- gdb/ada-lex.l	6 Oct 2004 09:28:55 -0000	1.9
+++ gdb/ada-lex.l	9 Oct 2004 04:50:07 -0000
@@ -154,8 +154,6 @@ static int find_dot_all (const char *);
 		   return CHARLIT;
 		}
 
-\"{OPER}\"/{WHITE}*"(" { return processId (yytext, yyleng); }
-
 <INITIAL>\"	{
 		   tempbuf_len = 0;
 		   BEGIN IN_STRING;
@@ -926,5 +924,5 @@ yywrap(void)
 typedef void (*dummy_function) ();
 dummy_function ada_flex_use[] = 
 { 
-  (dummy_function) yyrealloc, (dummy_function) yyunput
+  (dummy_function) yyunput
 };


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