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

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-01-18T19:16:56Z
Lists: pgsql-hackers
On sön, 2012-01-15 at 08:14 -0500, Andrew Dunstan wrote:
> It would possibly have some documentary value too. Just looking very 
> quickly at Peter's patch, I don't really understand his assertion that
> this would significantly butcher the code. The worst effect would be 
> that in a few cases we'd have to break up multiple declarations where 
> one of the variables was in this class. That doesn't seem like a
> tragedy.

Well, I'll prepare a patch like that and then you can judge.