Don't use !! but != 0/NULL to force boolean evaluation.
Andres Freund <andres@anarazel.de>
Don't use !! but != 0/NULL to force boolean evaluation. I introduced several uses of !! to force bit arithmetic to be boolean, but per discussion the project prefers != 0/NULL. Discussion: CA+TgmoZP5KakLGP6B4vUjgMBUW0woq_dJYi0paOz-My0Hwt_vQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/sepgsql/uavc.c | modified | +1 −1 |
| src/backend/access/transam/xact.c | modified | +2 −1 |
| src/backend/replication/logical/reorderbuffer.c | modified | +1 −1 |
| src/backend/storage/lmgr/lwlock.c | modified | +6 −6 |
| src/include/access/xact.h | modified | +2 −2 |