[Trivial] Remove nonsense #undef foreach #9732

pull jnewbery wants to merge 1 commits into bitcoin:master from jnewbery:removeundefforeach changing 1 files +0 −1
  1. jnewbery commented at 7:11 PM on February 9, 2017: member

    This PR removes #undef foreach from txmempool.h. That preprocessor directive was added in 34628a18070064e75b35f28fd6a43d5c23832eb8 (https://github.com/bitcoin/bitcoin/pull/6654) but there doesn't appear to be a #define foreach anywhere in the codebase. The #undef directive doesn't actually do anything.

  2. Remove nonsense #undef foreach
    This commit removes a preprocessor #undef for a macro that was never
    defined. Should make no difference to compiled code.
    467df390f0
  3. fanquake added the label Mempool on Feb 9, 2017
  4. fanquake added the label Refactoring on Feb 9, 2017
  5. MarcoFalke commented at 7:49 PM on February 9, 2017: member

    gives same binaries for me ACK 467df39

  6. jtimon commented at 8:05 PM on February 9, 2017: contributor

    utACK 467df39

  7. dcousens approved
  8. sipa commented at 6:54 AM on February 10, 2017: member

    Obvious ACK.

    This was added in #6654, without explanation.

  9. laanwj commented at 9:00 AM on February 10, 2017: member

    but there doesn't appear to be a #define foreach anywhere in the codebase.

    IIRC Qt defines this, and there was a conflict with that and some other dependency. But if it's no longer necessary that's great.

  10. fanquake commented at 1:02 PM on February 16, 2017: member

    utACK 467df39

  11. laanwj merged this on Feb 28, 2017
  12. laanwj closed this on Feb 28, 2017

  13. laanwj referenced this in commit c322fa472e on Feb 28, 2017
  14. HashUnlimited referenced this in commit ec45f45064 on Feb 27, 2018
  15. PastaPastaPasta referenced this in commit a4e1917507 on Dec 28, 2018
  16. PastaPastaPasta referenced this in commit a78e6cf735 on Dec 29, 2018
  17. PastaPastaPasta referenced this in commit 3749256af3 on Dec 29, 2018
  18. PastaPastaPasta referenced this in commit 9f14076dbc on Dec 31, 2018
  19. PastaPastaPasta referenced this in commit c7237b651a on Jan 2, 2019
  20. PastaPastaPasta referenced this in commit 2610da0204 on Jan 3, 2019
  21. PastaPastaPasta referenced this in commit 8f03662ee1 on Jan 5, 2019
  22. PastaPastaPasta referenced this in commit dc69dbf8f6 on Jan 7, 2019
  23. PastaPastaPasta referenced this in commit 809fc179a1 on Jan 7, 2019
  24. PastaPastaPasta referenced this in commit f51d2e0947 on Jan 23, 2019
  25. PastaPastaPasta referenced this in commit 68ef997707 on Jan 25, 2019
  26. MarcoFalke locked this on Sep 8, 2021

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-22 06:15 UTC

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