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]

Re: [RFA]: Remove warnings from ada-exp.tab.c compilation


+/* 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



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