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.