aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 12:10:43 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 15:05:14 +0300
commit9a12733508e47f558959f1b0ed9937bc3eff8962 (patch)
tree22dbddbd290cf9f41d8a402cc44946d7209bb37a /src/util
parentfb4b9f9e3b433d8848832e2c2686cf7b1f212a5e (diff)
downloadbitcoin-9a12733508e47f558959f1b0ed9937bc3eff8962.tar.xz
Remove unused m_debug_only member from Arg struct
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.cpp2
-rw-r--r--src/util/system.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 4610d1fb7e..75dbc72e77 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -549,7 +549,7 @@ void ArgsManager::AddArg(const std::string& name, const std::string& help, unsig
LOCK(cs_args);
std::map<std::string, Arg>& arg_map = m_available_args[cat];
- auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, flags, false});
+ auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, flags});
assert(ret.second); // Make sure an insertion actually happened
}
diff --git a/src/util/system.h b/src/util/system.h
index fe3c3b6a61..79fb33a9bd 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -152,7 +152,6 @@ protected:
std::string m_help_param;
std::string m_help_text;
unsigned int m_flags;
- bool m_debug_only;
};
mutable CCriticalSection cs_args;