Skip to content

Commit a698b19

Browse files
committed
add empty line, remove check
1 parent 450371c commit a698b19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/include/lldb/Utility/RangeMap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ class RangeDataVector {
497497
m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) {
498498
return a.DoesAdjoinOrIntersect(b) && a.data == b.data;
499499
});
500+
500501
if (first_intersect == m_entries.end())
501502
return;
502503

@@ -512,8 +513,7 @@ class RangeDataVector {
512513
minimal_ranges.push_back(*pos);
513514
}
514515
m_entries.swap(minimal_ranges);
515-
if (!m_entries.empty())
516-
ComputeUpperBounds(0, m_entries.size());
516+
ComputeUpperBounds(0, m_entries.size());
517517
}
518518

519519
void Clear() { m_entries.clear(); }

0 commit comments

Comments
 (0)