Re: gcc 4.6 warnings -Wunused-but-set-variable

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-04-27T16:57:05Z
Lists: pgsql-hackers
On tis, 2011-03-29 at 23:48 +0300, Peter Eisentraut wrote:
> As you might have heard, GCC 4.6 was released the other day.  It
> generates a bunch of new warnings with the PostgreSQL source code, most
> of which belong to the new warning scenario -Wunused-but-set-variable,
> which is included in -Wall.

In case someone else tries that, I have filed a bug with GCC regarding
some of the other warnings:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48778