From faa5ae456d184202993a5dbe782a3a95acc25326 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Tue, 23 Jul 2013 11:13:56 +0000 Subject: 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 --- bench/PathIterBench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/PathIterBench.cpp') 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) { } } } } -- cgit v1.2.3