Make LOCK_PRINT & PROCLOCK_PRINT expand to ((void) 0) when not in use.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 20803d7881c3865edede170579f55261140b5d0d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-11-08T00:07:48Z
Releases: 9.4.0
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

Files

PathChange+/−
src/backend/storage/lmgr/lock.c modified +2 −2