[llvm] r344002 - Remove unused variable.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 15:56:57 PDT 2018


Author: zturner
Date: Mon Oct  8 15:56:57 2018
New Revision: 344002

URL: http://llvm.org/viewvc/llvm-project?rev=344002&view=rev
Log:
Remove unused variable.

Modified:
    llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStream.cpp

Modified: llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStream.cpp?rev=344002&r1=344001&r2=344002&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStream.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStream.cpp Mon Oct  8 15:56:57 2018
@@ -65,7 +65,6 @@ GlobalsStream::findRecordsByName(StringR
   ChainStartOffset /= 12;
   NextChainOffset /= 12;
 
-  auto &Back = GlobalsTable.HashRecords.back();
   while (ChainStartOffset < NextChainOffset) {
     PSHashRecord PSH = GlobalsTable.HashRecords[ChainStartOffset];
     uint32_t Off = PSH.Off - 1;




More information about the llvm-commits mailing list