summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
diff options
context:
space:
mode:
authorDmitry Polukhin <dmitry.polukhin@gmail.com>2016-02-05 09:24:34 +0000
committerDmitry Polukhin <dmitry.polukhin@gmail.com>2016-02-05 09:24:34 +0000
commitf4124a72c125ab8679d5096ad82d45cd142dfc14 (patch)
tree96dabbfa881e66669743f017af97845f7132807a /llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
parent66594990b1cd55a9cc265cd694f92a03da9543a3 (diff)
downloadbcm5719-llvm-f4124a72c125ab8679d5096ad82d45cd142dfc14.tar.gz
bcm5719-llvm-f4124a72c125ab8679d5096ad82d45cd142dfc14.zip
[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
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
index 3f8ed43151c..6d59a8e1d24 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -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");
OpenPOWER on IntegriCloud