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

From Andres Freund
Subject pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin
Date
Msg-id E1XXJt1-0001YC-0p@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix whitespace