From: Daniel Jasper Date: Thu, 22 Aug 2013 16:11:46 +0000 (+0000) Subject: Work around unused variable warning in release builds. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=259118e66086f1446f1d205de9d51708a6325914;p=clang Work around unused variable warning in release builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189028 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 22833ad329..1cd55d7297 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -439,6 +439,7 @@ private: for (std::deque::iterator I = Path.begin(), E = Path.end(); I != E; ++I) { unsigned Penalty = Indenter->addTokenToState(State, (*I)->NewLine, false); + (void)Penalty; DEBUG({ if ((*I)->NewLine) { llvm::dbgs() << "Penalty for placing "