Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index f4157cd6b545d0e2c871c24b9ab6cca7dbd3eb8b..a996a4bc27204f5dbc58c90fc828980a24362541 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -435,7 +435,7 @@ static void do_fuzz(SkCanvas* canvas) { |
printf("Fuzzing with %u\n", kSeed); |
} |
numFilters++; |
- if (NULL != filter) { |
+ if (filter) { |
numValidFilters++; |
} |
printf("Filter no : %u. Valid filters so far : %u\r", numFilters, numValidFilters); |