aboutsummaryrefslogtreecommitdiff
path: root/src/util
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/util
parenta65f6d8cbbb368ddbe8624f8f0d395bb146b5e6d (diff)
downloadbitcoin-4ddd746bf9714a209b2f82918a70c4fe81d895c9.tar.xz
refactor: remove unnecessary string initializations
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index f6f2828fc8..ce45fb2ed4 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -740,7 +740,7 @@ std::string ArgsManager::GetHelpMessage() const
{
const bool show_debug = GetBoolArg("-help-debug", false);
- std::string usage = "";
+ std::string usage;
LOCK(cs_args);
for (const auto& arg_map : m_available_args) {
switch(arg_map.first) {