Index: tests/SListTest.cpp |
diff --git a/tests/SListTest.cpp b/tests/SListTest.cpp |
index 72a82814f9b8834a04d1143ae964e73e3447f0ea..78fcc65a27324137f39a80c84a904d051ca31143 100644 |
--- a/tests/SListTest.cpp |
+++ b/tests/SListTest.cpp |
@@ -27,7 +27,7 @@ static bool verifyEmptyList(skiatest::Reporter* reporter, |
ERRORF(reporter, "%s - List count is not zero, %d instead", stage, list.getCount()); |
return false; |
} |
- if (NULL != list.head()) { |
+ if (list.head()) { |
ERRORF(reporter, "%s - List has elements when empty", stage); |
return false; |
} |
@@ -55,7 +55,7 @@ static bool verifyList(skiatest::Reporter* reporter, |
} |
next = next->next(); |
} |
- if (NULL != next) { |
+ if (next) { |
ERRORF(reporter, "%s - List too long, should be %d", stage, count); |
return false; |
} |