aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/PathIterBench.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-23 11:13:56 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-23 11:13:56 +0000
commitfaa5ae456d184202993a5dbe782a3a95acc25326 (patch)
tree8d2e7c509a65656a711727f0848bc58cfd437196 /bench/PathIterBench.cpp
parent6ae6383f56704928838032ce6c46829e06201853 (diff)
Turn on -Wall -Wextra on Mac, and fix all the warnings that crop up for /usr/bin/g++ and Clang 3.3.
BUG= R=bungeman@google.com Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/19569012 git-svn-id: http://skia.googlecode.com/svn/trunk@10255 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/PathIterBench.cpp')
-rw-r--r--bench/PathIterBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/PathIterBench.cpp b/bench/PathIterBench.cpp
index 8bc8add427..987a752ad9 100644
--- a/bench/PathIterBench.cpp
+++ b/bench/PathIterBench.cpp
@@ -72,7 +72,7 @@ protected:
SkPath::Verb verb;
SkPoint pts[4];
- while ((verb = iter.next(pts)) != SkPath::kDone_Verb);
+ while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { }
}
} else {
for (int i = 0; i < N; ++i) {
@@ -80,7 +80,7 @@ protected:
SkPath::Verb verb;
SkPoint pts[4];
- while ((verb = iter.next(pts)) != SkPath::kDone_Verb);
+ while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { }
}
}
}