summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-08-22 16:11:46 +0000
committerDaniel Jasper <djasper@google.com>2013-08-22 16:11:46 +0000
commit12f4f1192dfd715ef851e2316e74bd5a46030c91 (patch)
treef33f57c34913c16a861777d0fb554bc55ce41f13 /clang/lib/Format/Format.cpp
parenta1e4b122236924504007522f2ea9e00a18a2142f (diff)
downloadbcm5719-llvm-12f4f1192dfd715ef851e2316e74bd5a46030c91.tar.gz
bcm5719-llvm-12f4f1192dfd715ef851e2316e74bd5a46030c91.zip
Work around unused variable warning in release builds.
llvm-svn: 189028
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 22833ad3293..1cd55d72973 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -439,6 +439,7 @@ private:
for (std::deque<StateNode *>::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 "
OpenPOWER on IntegriCloud