pgsql: Suppress compiler warnings about "value computed is not used". - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress compiler warnings about "value computed is not used".
Date
Msg-id E1Q9Wjb-0004PU-Oe@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Be more wary of missing statistics in eqjoinsel_semi().
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Don't make "replication" magical as a user name, only as a datab