]> granicus.if.org Git - llvm/commitdiff
Fixed build failure (due to unused variable error) in r273807.
authorAmjad Aboud <amjad.aboud@intel.com>
Sun, 26 Jun 2016 13:36:23 +0000 (13:36 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Sun, 26 Jun 2016 13:36:23 +0000 (13:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273810 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

index cb834f577b6cf91c07bec2f193d4c54f3b27444a..46917f8e82f3d96de752d85eb5d1001418e1754a 100644 (file)
@@ -956,6 +956,7 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
         ArrayRecord(ElementTypeIndex, IndexType, ElementSize, Name));
   }
 
+  (void)UndefinedSubrange;
   assert(UndefinedSubrange || ElementSize == (Ty->getSizeInBits() / 8));
 
   return ElementTypeIndex;