mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00: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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60daf2aa3f
commit
f5861b08e7
@ -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…
Reference in New Issue
Block a user