On 02/17/2011 12:19 PM, Tom Lane wrote:
"Kevin Grittner"<kevin.gritt...@wicourts.gov> writes:
Tom Lane<t...@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.
Ugh. Isn't there some sort of pragma or similar we can use to shut it up?
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers