diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2020-09-01 16:37:39 -0700 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2020-09-01 16:38:24 -0700 |
commit | 202766947edb5407b84484185608aac077085608 (patch) | |
tree | 94b615a57ef24e7e95977541e5c29ec2ed69f912 | |
parent | 82139b8770ee07f0b778be7af22c529098ef12ec (diff) | |
download | llvm-202766947edb5407b84484185608aac077085608.tar.gz |
[NFC] Fix unused var in release builds.
This was always unused, but the change in D86354 upgraded this to a compiler warning.
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDie.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp index 81a6b5dcd5e7..116f72a1d58b 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp @@ -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; |