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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Define META_FREE in a way that doesn't cause -Wempty-body warnin
Дата
Msg-id E1XXJt1-0001YC-0p@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix atomic ops inline x86 inline assembly for older 32bit gccs.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace