Skip site navigation (1) Skip section navigation (2)

pgsql: Silence "expression result unused" warnings inAssertVariableIsO

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence "expression result unused" warnings inAssertVariableIsO
Date: 2012-11-12 13:04:55
Message-ID: E1TXth9-0005yb-Fx@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Silence "expression result unused" warnings in AssertVariableIsOfTypeMacro

At least clang 3.1 generates those warnings. Prepend (void) to avoid them,
like we have in AssertMacro.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c9d44a75d48ed8a9b9275b95be1fadaa562f3826

Modified Files
--------------
src/include/c.h |    8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2012-11-12 15:20:36
Subject: pgsql: Use correct text domain for translating errcontext() messages.
Previous:From: Peter EisentrautDate: 2012-11-12 04:41:14
Subject: pgsql: doc: "only relevant" -> "relevant only"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group