Skip to content

Commit a9e10a0

Browse files
committed
[DWARFYAML] Remove useless conditional statement. NFC.
The conditional statement is useless after 3a48a63.
1 parent 9ea0d8c commit a9e10a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/ObjectYAML/DWARFVisitor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ static unsigned getRefSize(const DWARFYAML::Unit &Unit) {
4949
template <typename T> Error DWARFYAML::VisitorImpl<T>::traverseDebugInfo() {
5050
for (auto &Unit : DebugInfo.CompileUnits) {
5151
onStartCompileUnit(Unit);
52-
if (Unit.Entries.empty())
53-
continue;
5452

5553
for (auto &Entry : Unit.Entries) {
5654
onStartDIE(Unit, Entry);

0 commit comments

Comments
 (0)