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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lots of unused variable warnings in assert-free builds
Date: 2012-01-18 19:16:56
Message-ID: 1326914216.9180.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-01-18 19:17:36 Re: Command Triggers
Previous Message Peter Eisentraut 2012-01-18 19:15:52 Re: lots of unused variable warnings in assert-free builds