pgsql: Suppress compiler warnings about "value computed is not used".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress compiler warnings about "value computed is not used".
Date: 2011-04-12 06:05:55
Message-ID: E1Q9Wjb-0004PU-Oe@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress compiler warnings about "value computed is not used".

The recent patch to remove gcc 4.6 warnings created some new ones, at
least on my rather old gcc version. Try to make everybody happy by
casting to "void" when we just want to discard the result.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/88543ecfec9c754b5f14b898bccbc68d941748b3

Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-04-12 11:46:18 pgsql: Don't make "replication" magical as a user name, only as a datab
Previous Message Tom Lane 2011-04-12 06:00:10 pgsql: Be more wary of missing statistics in eqjoinsel_semi().