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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Define Assert() et al to ((void)0) to avoid pedantic warnings.
Дата
Msg-id E1Y1xcF-0002EN-CO@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: pgsql: doc: restrictions on alter database moving default tablespace
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Prevent potentially hazardous compiler/cpu reordering during lwl