fanquake a1e0359618
Merge #19986: refactor: clean up -Wlogical-op warning in wallet/scriptpubkeyman.cp
95fedd33a23d6cb7542378afef229965f1ebfd68 refactor: Clean up -Wlogical-op warning (maskoficarus)

Pull request description:

  This is a quick patch that fixes #19912 . This change prevents a -Wlogical-op warning that occurs because we're treating a const int value as a boolean. There's no sense checking if a non-zero constant has a value, so I've removed the check.

  #18836 also addresses the same warning, but has a larger scope and will require more review. This pull request will act as a patch to prevent this compile warning until 18836 is merged.

ACKs for top commit:
  MarcoFalke:
    review ACK 95fedd33a23d6cb7542378afef229965f1ebfd68
  hebasto:
    ACK 95fedd33a23d6cb7542378afef229965f1ebfd68, tested on Linux Mint 20 (x86_64):

Tree-SHA512: 13a9d7f7cb472f4c22a01ca2f9771a75267ff769bdae9d0dc6b2c7f3b05369f6dfa859be2b172b39c15ede6c44cddf556380b3565e42850faa65ccd3fe6e175b
2020-10-19 11:07:11 +08:00
..
2020-05-28 02:13:19 -04:00
2020-05-24 10:34:52 -07:00
2020-09-08 21:02:53 -04:00
2020-09-08 21:02:53 -04:00
2020-09-08 21:02:53 -04:00
2020-10-14 11:28:18 -04:00
2020-10-14 11:28:18 -04:00
2020-10-13 18:42:59 +07:00
2020-09-03 12:24:32 -04:00