pgsql: Define Assert() et al to ((void)0) to avoid pedantic warnings.

Started by Andres Freundover 11 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

Define Assert() et al to ((void)0) to avoid pedantic warnings.

gcc's -Wempty-body warns about the current usage when compiling
postgres without --enable-cassert.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9959abb0122ca2b0e4817e20954e3083c90becdc

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

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers