From 7922d34b6073712cb62f7d4d74810509c19a84df Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 28 Dec 2010 09:41:15 +0000 Subject: [PATCH] Silence gcc warning about an unused variable when doing a release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122593 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 476cb284bae..7565b705820 100644 --- a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -254,6 +254,7 @@ processLoopStoreOfSplatValue(StoreInst *SI, unsigned StoreSize, DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" << " from store to: " << *Ev << " at: " << *SI << "\n"); + (void)NewCall; // Okay, the memset has been formed. Zap the original store and anything that // feeds into it.