diff --git a/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp b/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp index 3595966b42e46..55a663bb1b963 100644 --- a/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +++ b/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp @@ -111,7 +111,7 @@ SymbolVendorELF::CreateInstance(const lldb::ModuleSP &module_sp, SectionList *module_section_list = module_sp->GetSectionList(); SectionList *objfile_section_list = dsym_objfile_sp->GetSectionList(); - if (!module_section_list || !!objfile_section_list) + if (!module_section_list || !objfile_section_list) return nullptr; static const SectionType g_sections[] = {