Remove unnecessary check in SymbolFileDWARF::ParseImportedModules

Summary:
This check seems unnecessary as we already assert the same condition above and also access `sc.comp_unit`
before this check.

Reviewers: aprantl

Reviewed By: aprantl

Subscribers: jdoerfert, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D61394

llvm-svn: 359813
This commit is contained in:
Raphael Isemann 2019-05-02 18:26:58 +00:00
parent 0682fc5e5f
commit 21db1440f9
1 changed files with 0 additions and 3 deletions

View File

@ -909,9 +909,6 @@ bool SymbolFileDWARF::ParseImportedModules(
return false;
UpdateExternalModuleListIfNeeded();
if (!sc.comp_unit)
return false;
const DWARFDIE die = dwarf_cu->DIE();
if (!die)
return false;