Skip to content

Conversation

@paveljanik
Copy link
Contributor

@paveljanik paveljanik commented Jan 9, 2017

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.

@sipa
Copy link
Member

sipa commented Jan 9, 2017

utACK 7df5e38

@maflcko maflcko merged commit 7df5e38 into bitcoin:master Jan 10, 2017
maflcko pushed a commit that referenced this pull request Jan 10, 2017
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
@maflcko maflcko added the GUI label Jan 10, 2017
@maflcko
Copy link
Member

maflcko commented Jan 10, 2017

utACK 7df5e38

codablock pushed a commit to codablock/dash that referenced this pull request Jan 18, 2018
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 26, 2019
7df5e38 Rename lambda argument name to prevent shadowing. (Pavel Janík)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants