OSDN Git Service

Fix an unused variable warning in non-asserts builds.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jun 2017 07:49:34 +0000 (07:49 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jun 2017 07:49:34 +0000 (07:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304778 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Target/AArch64/InstSizes.cpp

index 5ee5e9c..a4bcd68 100644 (file)
@@ -68,6 +68,7 @@ void runChecks(
 
   MachineModuleInfo MMI(TM);
   bool Res = MParser->parseMachineFunctions(*M, MMI);
+  (void)Res;
   assert(!Res && "Couldn't parse MIR functions");
 
   auto F = M->getFunction("sizes");