Обсуждение: pgsql: Make LOCK_PRINT & PROCLOCK_PRINT expand to ((void) 0) when not i

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

pgsql: Make LOCK_PRINT & PROCLOCK_PRINT expand to ((void) 0) when not i

От
Tom Lane
Дата:
Make LOCK_PRINT & PROCLOCK_PRINT expand to ((void) 0) when not in use.

This avoids warnings from more-anal-than-average compilers, and might
prevent hidden syntax problems in the future.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/20803d7881c3865edede170579f55261140b5d0d

Modified Files
--------------
src/backend/storage/lmgr/lock.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)