Re: lots of unused variable warnings in assert-free builds

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-21T21:34:58Z
Lists: pgsql-hackers
On tis, 2012-03-20 at 15:04 -0400, Tom Lane wrote:
> Hm.  I bet it thinks that PG_USED_FOR_ASSERTS_ONLY is the variable
> name, which means that the behavior might be more exciting for
> multi-word type names (for instance "struct foo" or "volatile int *".
> Could you check a few cases like that?

Tested, doesn't make a difference.  Hence committed that way.