aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
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;