This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Remove warnings from ada-exp.tab.c compilation
- From: Andrew Cagney <cagney at gnu dot org>
- To: Paul Hilfinger <hilfingr at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 05 Oct 2004 15:46:39 -0400
- Subject: Re: [RFA]: Remove warnings from ada-exp.tab.c compilation
- References: <20041005103727.938AEF2BD3@nile.gnat.com>
+/* FIXME: Temporary measure to remove warning. The function
I'd write this as:
/* FIXME: hilfingr/2004-10-05: Hack to remove warning. ...
so that who added the note and when are clear. If you're curious grep
for this pattern in the sources and quickly discover how old some of
those tempoary hacks are :-)
otherwize ok,
Andrew
PS:
+ tempbuf = (char *) realloc (tempbuf, tempbufsize);
the cast is redundant - realloc returns (void *).
Andrew