Rename lambda argument name to prevent shadowing #9496

pull paveljanik wants to merge 1 commits into bitcoin:master from paveljanik:20170109_Wshadow_rpcconsole_lambda changing 1 files +3 −3
  1. paveljanik commented at 6:33 PM on January 9, 2017: contributor

    Fixes warning after #8877.

    Removed warning:

    qt/rpcconsole.cpp:173:56: warning: declaration shadows a local variable [-Wshadow]
        auto add_to_current_stack = [&](const std::string& curarg) {
                                                           ^
    qt/rpcconsole.cpp:167:17: note: previous declaration is here
        std::string curarg;
                    ^
    1 warning generated.
    
  2. Rename lambda argument name to prevent shadowing. 7df5e382e5
  3. sipa commented at 10:01 PM on January 9, 2017: member

    utACK 7df5e382e5d5f37fc21e894eb285cc3e9c80dd83

  4. fanquake added the label Refactoring on Jan 9, 2017
  5. dcousens approved
  6. MarcoFalke merged this on Jan 10, 2017
  7. MarcoFalke closed this on Jan 10, 2017

  8. MarcoFalke referenced this in commit 98c80e374b on Jan 10, 2017
  9. MarcoFalke added the label GUI on Jan 10, 2017
  10. MarcoFalke commented at 9:16 AM on January 10, 2017: member

    utACK 7df5e38

  11. codablock referenced this in commit 0dabb80ab5 on Jan 18, 2018
  12. andvgal referenced this in commit 6814a264f8 on Jan 6, 2019
  13. CryptoCentric referenced this in commit f0564e0c77 on Feb 26, 2019
  14. 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-17 12:15 UTC

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