[DebugInfo] Eliminate compilation warning about used variable LSDA

The waring was:
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:643:20: warning: variable ‘LSDA’ set but not used

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitry Polukhin 2016-02-05 09:24:34 +00:00
parent 60daf2aa3f
commit f5861b08e7

View File

@ -640,9 +640,8 @@ void DWARFDebugFrame::parse(DataExtractor Data) {
Offset + static_cast<uint32_t>(AugmentationLength);
// Decode the LSDA if the CIE augmentation string said we should.
uint64_t LSDA = 0;
if (Cie->getLSDAPointerEncoding() != DW_EH_PE_omit)
LSDA = readPointer(Data, Offset, Cie->getLSDAPointerEncoding());
readPointer(Data, Offset, Cie->getLSDAPointerEncoding());
if (Offset != EndAugmentationOffset)
ReportError("Parsing augmentation data at %lx failed");