Обсуждение: pgsql: Define Assert() et al to ((void)0) to avoid pedantic warnings.

Поиск
Список
Период
Сортировка

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

От
Andres Freund
Дата:
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(-)