From: Duncan Sands Date: Tue, 28 Dec 2010 09:41:15 +0000 (+0000) Subject: Silence gcc warning about an unused variable when doing a release build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7922d34b6073712cb62f7d4d74810509c19a84df;p=oota-llvm.git 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 --- 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.