[llvm] r273810 - Fixed build failure (due to unused variable error) in r273807.

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 06:36:24 PDT 2016


Author: aaboud
Date: Sun Jun 26 08:36:23 2016
New Revision: 273810

URL: http://llvm.org/viewvc/llvm-project?rev=273810&view=rev
Log:
Fixed build failure (due to unused variable error) in r273807.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp?rev=273810&r1=273809&r2=273810&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp Sun Jun 26 08:36:23 2016
@@ -956,6 +956,7 @@ TypeIndex CodeViewDebug::lowerTypeArray(
         ArrayRecord(ElementTypeIndex, IndexType, ElementSize, Name));
   }
 
+  (void)UndefinedSubrange;
   assert(UndefinedSubrange || ElementSize == (Ty->getSizeInBits() / 8));
 
   return ElementTypeIndex;




More information about the llvm-commits mailing list