aboutsummaryrefslogtreecommitdiff
path: root/src/external_signer.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-07-25 11:46:57 +0100
committerfanquake <fanquake@gmail.com>2022-07-26 10:16:42 +0100
commit4ddd746bf9714a209b2f82918a70c4fe81d895c9 (patch)
tree924a9164d8808c49f03237ec367e4dd4852cc5a4 /src/external_signer.cpp
parenta65f6d8cbbb368ddbe8624f8f0d395bb146b5e6d (diff)
refactor: remove unnecessary string initializations
Diffstat (limited to 'src/external_signer.cpp')
-rw-r--r--src/external_signer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external_signer.cpp b/src/external_signer.cpp
index d125fe479b..6bab0a856c 100644
--- a/src/external_signer.cpp
+++ b/src/external_signer.cpp
@@ -49,7 +49,7 @@ bool ExternalSigner::Enumerate(const std::string& command, std::vector<ExternalS
if (signer.m_fingerprint.compare(fingerprintStr) == 0) duplicate = true;
}
if (duplicate) break;
- std::string name = "";
+ std::string name;
const UniValue& model_field = find_value(signer, "model");
if (model_field.isStr() && model_field.getValStr() != "") {
name += model_field.getValStr();