From 0559d31c374050096e1071208661f97f24dbe299 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Fri, 5 Oct 2012 13:56:23 +0000 Subject: [PATCH] SROA.cpp: Fix a warning, [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165309 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/SROA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Scalar/SROA.cpp b/lib/Transforms/Scalar/SROA.cpp index 3a27d020845..380555d86d2 100644 --- a/lib/Transforms/Scalar/SROA.cpp +++ b/lib/Transforms/Scalar/SROA.cpp @@ -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;