aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcdump.cpp
diff options
context:
space:
mode:
authorAlin Rus <alin@fsck.ro>2018-01-14 18:15:31 +0100
committerAlin Rus <alin@fsck.ro>2018-02-13 20:47:55 +0100
commit19ac86e2063432fca1f21fd3ef9770e7bde5d0ff (patch)
tree3ac58066929e7945cc23ff720b7cdcce09f29912 /src/wallet/rpcdump.cpp
parentf4f4f51f1a940a239c9b406fe3b362bf3303cbce (diff)
Remove useless string initialization.
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r--src/wallet/rpcdump.cpp4
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();