"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Would you check whether just casting the function result to (void)
>> shuts it up?
> Casting the result to (void) didn't change the warning. It shut up
> when I declared a local variable and assigned the value to it (which
> was then never used).
Too bad. I believe gcc 4.6 will warn about *that*, so it's not going to
be much of an improvement for long.
regards, tom lane