Skip to content

Commit

Permalink
[NFC] Fix unused var in release builds.
Browse files Browse the repository at this point in the history
This was always unused, but the change in D86354 upgraded this to a compiler warning.
  • Loading branch information
rupprecht committed Sep 1, 2020
1 parent 82139b8 commit 2027669
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ static void dumpTypeTagName(raw_ostream &OS, dwarf::Tag T) {
}

static void dumpArrayType(raw_ostream &OS, const DWARFDie &D) {
Optional<uint64_t> Bound;
for (const DWARFDie &C : D.children())
if (C.getTag() == DW_TAG_subrange_type) {
Optional<uint64_t> LB;
Expand Down

0 comments on commit 2027669

Please sign in to comment.