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: (view raw, whole thread or download thread mbox)
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.



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-2018 The PostgreSQL Global Development Group