aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-25 22:01:17 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-25 22:01:17 +0000
commitb90a2cacfe72323f573437cf2f50be3f7ca67122 (patch)
tree989c44df5053d363520894da20262066d73d688d
parent111fd11e11cbc296c97225ea16b7ff174a4bcdb5 (diff)
Fix a warning.
git-svn-id: http://skia.googlecode.com/svn/trunk@11462 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--bench/SkipZeroesBench.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/bench/SkipZeroesBench.cpp b/bench/SkipZeroesBench.cpp
index 6e4b54bdf6..b56838c200 100644
--- a/bench/SkipZeroesBench.cpp
+++ b/bench/SkipZeroesBench.cpp
@@ -64,6 +64,12 @@ protected:
// Disabling until the feature is checked in.
// See https://codereview.chromium.org/24269006/
//fDecoder->setSkipWritingZeroes(fSkipZeroes);
+ if (fSkipZeroes) {
+ // This printf will never happen since this bench is
+ // only currently created with false. Remove once
+ // the above code is uncommented.
+ SkDebugf("Should be skipping zeroes...\n");
+ }
} else {
fValid = false;
}