Index: tools/skpdiff/skpdiff_util.cpp |
diff --git a/tools/skpdiff/skpdiff_util.cpp b/tools/skpdiff/skpdiff_util.cpp |
index 4a92f5e3f76b476b9281f75fed3fcea13df298a7..498f657f9e899c9e479af981369646dd073a0ccf 100644 |
--- a/tools/skpdiff/skpdiff_util.cpp |
+++ b/tools/skpdiff/skpdiff_util.cpp |
@@ -174,7 +174,7 @@ bool glob_files(const char globPattern[], SkTArray<SkString>* entries) { |
// Note these paths are in sorted order by default according to http://linux.die.net/man/3/glob |
// Check under the flag GLOB_NOSORT |
char** paths = globBuffer.gl_pathv; |
- while(NULL != *paths) { |
+ while(*paths) { |
entries->push_back(SkString(*paths)); |
paths++; |
} |