aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectLog.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-23 11:07:14 -0800
committerKazu Hirata <kazu@google.com>2022-01-23 11:07:14 -0800
commitabb0ed44957cb4ba1bc94d19202860f10369cea1 (patch)
treeb42fadb8c67849fc3fb00c0e8101549028168916 /lldb/source/Commands/CommandObjectLog.cpp
parent7a29b0b58383e8ceb751144fe638c46cacc6fe40 (diff)
downloadllvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.zip
llvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.tar.gz
llvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.tar.bz2
[Commands] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectLog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp
index 05ffba2..d432ab2 100644
--- a/lldb/source/Commands/CommandObjectLog.cpp
+++ b/lldb/source/Commands/CommandObjectLog.cpp
@@ -45,8 +45,7 @@ public:
CommandObjectLogEnable(CommandInterpreter &interpreter)
: CommandObjectParsed(interpreter, "log enable",
"Enable logging for a single log channel.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg1;
CommandArgumentEntry arg2;
CommandArgumentData channel_arg;
@@ -76,7 +75,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options(), log_file() {}
+ CommandOptions() {}
~CommandOptions() override = default;