llvm-readobj: Fix an unused variable after r241764

llvm-svn: 241783
This commit is contained in:
Justin Bogner 2015-07-09 04:27:36 +00:00
parent 075bf567f9
commit a1413db2bf
1 changed files with 3 additions and 2 deletions

View File

@ -597,8 +597,9 @@ void COFFDumper::printCodeViewDebugInfo(const SectionRef &Section) {
// in the line table. The filename string is accessed using double
// indirection to the string table subsection using the index subsection.
uint32_t OffsetInIndex = DE.getU32(&Offset),
SegmentLength = DE.getU32(&Offset),
FullSegmentSize = DE.getU32(&Offset);
SegmentLength = DE.getU32(&Offset);
Offset += sizeof(uint32_t); // Skip FullSegmentSize
uint32_t FilenameOffset;
{
DataExtractor SDE(CVFileIndexToStringOffsetTable, true, 4);