Re: hstore compiler warnings

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: hstore compiler warnings
Date: 2013-03-21 19:16:51
Message-ID: 1363893411.1298.YahooMailNeo@web162903.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

> [assign to local variable and then `(void) varname;` to avoid "unused" warning]

> This is the only thing that I have found to work with very recent gcc. Seems

> ugly. Anyone got a better idea?

That seems to be what we've used elsewhere.

http://www.postgresql.org/message-id/24446.1318973105@sss.pgh.pa.us

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-03-21 19:17:54 Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]
Previous Message Greg Smith 2013-03-21 19:05:44 Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]