summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBModuleSpec.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-02 22:44:15 -0800
committerKazu Hirata <kazu@google.com>2022-01-02 22:44:16 -0800
commita3436f7340cb5bdb9dddf2b6b3e72ca6cf9f7e22 (patch)
treeab36bef64c2d362ece8e7d07bff710305dd14635 /lldb/source/API/SBModuleSpec.cpp
parent1461bd13c91b78cc20b097e3dd9231f52f96ece0 (diff)
[API] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'lldb/source/API/SBModuleSpec.cpp')
-rw-r--r--lldb/source/API/SBModuleSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBModuleSpec.cpp b/lldb/source/API/SBModuleSpec.cpp
index 5d88272a399b..d8154bea8a1a 100644
--- a/lldb/source/API/SBModuleSpec.cpp
+++ b/lldb/source/API/SBModuleSpec.cpp
@@ -23,7 +23,7 @@ SBModuleSpec::SBModuleSpec() : m_opaque_up(new lldb_private::ModuleSpec()) {
LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBModuleSpec);
}
-SBModuleSpec::SBModuleSpec(const SBModuleSpec &rhs) : m_opaque_up() {
+SBModuleSpec::SBModuleSpec(const SBModuleSpec &rhs) {
LLDB_RECORD_CONSTRUCTOR(SBModuleSpec, (const lldb::SBModuleSpec &), rhs);
m_opaque_up = clone(rhs.m_opaque_up);