[pgpool-general: 7884] Clean up some code using "(expr) ? true : false"

lucy.fnst at fujitsu.com lucy.fnst at fujitsu.com
Mon Nov 22 11:41:43 JST 2021


When I reviewed the code, I found that

some code paths were already using a boolean or used an expression that led to zero or one, making the extra bits unnecessary.

So I made a patch for this problem, such as the attachment.

Best regards

Lu Chenyang
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
          Nanjing, 210012, China
TEL  : +86+25-86630566-9431
COINS: 7998-9431
FAX  : +86+25-83317685
MAIL : lucy.fnst at cn.fujitsu.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20211122/bbf44807/attachment.htm>

More information about the pgpool-general mailing list