pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin
Date: 2014-09-26 00:59:51
Message-ID: E1XXJt1-0001YC-0p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Define META_FREE in a way that doesn't cause -Wempty-body warnings.

That get rids of the only -Wempty-body warning when compiling postgres
with gcc 4.8/9. As 6550b901f shows, it's useful to be able to use that
option routinely.

Without asserts there's many more warnings, but that's food for
another commit.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9b6bb9b47153e4bf6d23bef13165491ba440fc23

Modified Files
--------------
contrib/fuzzystrmatch/dmetaphone.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2014-09-26 06:46:15 pgsql: Fix whitespace
Previous Message Andres Freund 2014-09-26 00:45:47 pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.