SROA.cpp: Fix a warning, [-Wunused-variable]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 5 Oct 2012 13:56:23 +0000 (13:56 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 5 Oct 2012 13:56:23 +0000 (13:56 +0000)
llvm-svn: 165309

llvm/lib/Transforms/Scalar/SROA.cpp

index 3a27d02..380555d 100644 (file)
@@ -710,6 +710,7 @@ private:
         = MemTransferPartitionMap.insert(std::make_pair(&II, NewIdx)).second;
       assert(Inserted &&
              "Already have intrinsic in map but haven't seen both ends");
+      (void)Inserted;
     }
 
     return true;