From 5cf10e691b680bb4ef0a64ea05ea69773ca4ec68 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 28 Dec 2010 09:41:15 +0000 Subject: Silence gcc warning about an unused variable when doing a release build. llvm-svn: 122593 --- llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib') diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 476cb284bae..7565b705820 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/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. -- cgit v1.2.3