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:
parent
151d484d3e
commit
53b2b4d2c5
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user