diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-01 20:50:33 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-01 20:51:05 +0100 |
commit | 90a0aed51194ad82da8e011b96f9561c685e40b7 (patch) | |
tree | 422b2bb0699cdc1a8753441c47bd08cd5eaf0a13 /src/wallet | |
parent | a4a5fc7c17cd63fae39db3b01b4bc1b0a32b6e1f (diff) | |
parent | 19ac86e2063432fca1f21fd3ef9770e7bde5d0ff (diff) | |
download | bitcoin-90a0aed51194ad82da8e011b96f9561c685e40b7.tar.xz |
Merge #12182: Remove useless string initializations
19ac86e Remove useless string initialization. (Alin Rus)
Pull request description:
Tree-SHA512: 4273dd7e8ed083cc9d05fc70967465e405085b630c000f829648dd44dd0cfe2249f6af1498b02f54b4ca73833130b802488bae8eca0d4d0b803a6f0122b19e8f
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 741ea25340..930e8bbbb4 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -279,7 +279,7 @@ UniValue importaddress(const JSONRPCRequest& request) ); - std::string strLabel = ""; + std::string strLabel; if (!request.params[1].isNull()) strLabel = request.params[1].get_str(); @@ -452,7 +452,7 @@ UniValue importpubkey(const JSONRPCRequest& request) ); - std::string strLabel = ""; + std::string strLabel; if (!request.params[1].isNull()) strLabel = request.params[1].get_str(); |