Simplify code.

llvm-svn: 350577
This commit is contained in:
Adrian Prantl 2019-01-07 23:08:16 +00:00
parent 511d7d1fc1
commit c5e0c58875
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) {
}
}
const size_t num_dwo_types = dwo_types.GetSize();
if (num_dwo_types != 1)
if (dwo_types.GetSize() != 1)
return TypeSP();
// We found a real definition for this type in the Clang module, so lets use