From a3436f7340cb5bdb9dddf2b6b3e72ca6cf9f7e22 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 2 Jan 2022 22:44:15 -0800 Subject: [API] Remove redundant member initialization (NFC) Identified with readability-redundant-member-init. --- lldb/source/API/SBModuleSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/API/SBModuleSpec.cpp') 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); -- cgit v1.2.3