HomePhabricator

Fix a shadow warning in askpassphrasedialog.cpp

Description

Fix a shadow warning in askpassphrasedialog.cpp

Summary:
The toggleShowPassword method defines a local mode variable,
shadowing the AskPassphraseDialog member.
This diff renames the local variable to renderingMode.

Test Plan:

make check

Check the warning is now fixed.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3496

Details

Provenance
FabienAuthored on Jul 1 2019, 07:19
FabienPushed on Jul 1 2019, 12:43
Reviewer
Restricted Project
Differential Revision
D3496: Fix a shadow warning in askpassphrasedialog.cpp
Parents
rABCaf6f0bc21780: Add documentation on how to display python deprecation warnings
Branches
Unknown
Tags
Unknown