Don't use !! but != 0/NULL to force boolean evaluation.
authorAndres Freund <[email protected]>
Sun, 27 Mar 2016 15:17:00 +0000 (17:17 +0200)
committerAndres Freund <[email protected]>
Sun, 27 Mar 2016 16:10:19 +0000 (18:10 +0200)
commit1a7a43672bf2939dda93a27d498349e7a4aa3c14
tree7c2b58901af052b421fa1114d4c899c4b870163c
parentaf4472bcb88ab36b9abbe7fd5858e570a65a2d1a
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
contrib/sepgsql/uavc.c
src/backend/access/transam/xact.c
src/backend/replication/logical/reorderbuffer.c
src/backend/storage/lmgr/lwlock.c
src/include/access/xact.h