Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: bench/PathIterBench.cpp

Issue 19569012: Turn on -Wall -Wextra on Mac, and fix all the warnings that crop up for /usr/bin/g++ and Clang 3.3. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: nit Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/PathIterBench.cpp
diff --git a/bench/PathIterBench.cpp b/bench/PathIterBench.cpp
index 8bc8add427cd9b9173ed1897df99d2af7b0e29eb..987a752ad96a542d9d0e10479930dfa040d654f7 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) { }
}
}
}
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698