Skip to content

Commit 9a12733

Browse files
committed
Remove unused m_debug_only member from Arg struct
1 parent fb4b9f9 commit 9a12733

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/util/system.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ void ArgsManager::AddArg(const std::string& name, const std::string& help, unsig
549549

550550
LOCK(cs_args);
551551
std::map<std::string, Arg>& arg_map = m_available_args[cat];
552-
auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, flags, false});
552+
auto ret = arg_map.emplace(name.substr(0, eq_index), Arg{name.substr(eq_index, name.size() - eq_index), help, flags});
553553
assert(ret.second); // Make sure an insertion actually happened
554554
}
555555

src/util/system.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ class ArgsManager
152152
std::string m_help_param;
153153
std::string m_help_text;
154154
unsigned int m_flags;
155-
bool m_debug_only;
156155
};
157156

158157
mutable CCriticalSection cs_args;

0 commit comments

Comments
 (0)