This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Properly remove a warning message caused by ada-lex.l
- From: Paul Hilfinger <hilfingr at gnat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 9 Oct 2004 01:39:08 -0400 (EDT)
- Subject: [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
};