Simplify "!foo || (foo && bar)" as "!foo || bar" #10780

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:redundant-condition changing 1 files +1 −1
  1. practicalswift commented at 11:41 AM on July 9, 2017: contributor

    Simplify !foo || (foo && bar) as !foo || bar.

    Rationale:

    • Improve readability by removing redundant condition.
  2. Simplify "!foo || (foo && bar)" as "!foo || bar" 1e3a3200af
  3. practicalswift renamed this:
    Simplify `!foo || (foo && bar)` as `!foo || bar`
    Simplify "!foo || (foo && bar)" as "!foo || bar"
    on Jul 9, 2017
  4. fanquake added the label Refactoring on Jul 9, 2017
  5. TheBlueMatt commented at 12:11 AM on July 10, 2017: member

    utACK

  6. promag commented at 1:49 PM on July 10, 2017: member

    utACK 1e3a320.

  7. jnewbery commented at 1:53 PM on July 10, 2017: member

    utACK 1e3a3200afd74b22fdbb5d9425722b0c031e7453

  8. paveljanik commented at 2:08 PM on July 10, 2017: contributor

    utACK 1e3a320

  9. dcousens approved
  10. sipa commented at 1:23 AM on July 13, 2017: member

    utACK 1e3a3200afd74b22fdbb5d9425722b0c031e7453

  11. sipa merged this on Jul 13, 2017
  12. sipa closed this on Jul 13, 2017

  13. sipa referenced this in commit e4fcbf797e on Jul 13, 2017
  14. PastaPastaPasta referenced this in commit 63ef314ad3 on Jul 6, 2019
  15. PastaPastaPasta referenced this in commit c8c74f3bd0 on Jul 8, 2019
  16. PastaPastaPasta referenced this in commit 6646e4fd40 on Jul 9, 2019
  17. PastaPastaPasta referenced this in commit b2ae969214 on Jul 11, 2019
  18. PastaPastaPasta referenced this in commit a47cb7e105 on Jul 13, 2019
  19. PastaPastaPasta referenced this in commit eef0cea2b7 on Jul 17, 2019
  20. PastaPastaPasta referenced this in commit 36d7a291c9 on Jul 17, 2019
  21. PastaPastaPasta referenced this in commit 09854d6613 on Jul 18, 2019
  22. barrystyle referenced this in commit 453e766fa8 on Jan 22, 2020
  23. practicalswift deleted the branch on Apr 10, 2021
  24. DrahtBot locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me