1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[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

llvm-svn: 259877
This commit is contained in:
Dmitry Polukhin 2016-02-05 09:24:34 +00:00
parent 151d484d3e
commit 53b2b4d2c5

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");