]> granicus.if.org Git - postgresql/commit
Define Assert() et al to ((void)0) to avoid pedantic warnings.
authorAndres Freund <andres@anarazel.de>
Mon, 8 Dec 2014 19:28:09 +0000 (20:28 +0100)
committerAndres Freund <andres@anarazel.de>
Fri, 19 Dec 2014 13:27:45 +0000 (14:27 +0100)
commit9959abb0122ca2b0e4817e20954e3083c90becdc
treeec57de08de28ed2cbf7f1a69d495e63a31d1a070
parent5b516835897f2a487eedacdb605ac40d52f6b484
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.
src/include/c.h