From 1c56f09923714ae23c86701e0b4baa820ddf95d1 Mon Sep 17 00:00:00 2001 From: Amjad Aboud Date: Sun, 26 Jun 2016 13:36:23 +0000 Subject: [PATCH] Fixed build failure (due to unused variable error) in r273807. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273810 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index cb834f577b6..46917f8e82f 100644 --- a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -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; -- 2.50.1