Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: I5b4123bc6709641315120a191e36cc57541349b2
diff --git a/tests/ftw_test.cpp b/tests/ftw_test.cpp
index 91e9fcf..22ab399 100644
--- a/tests/ftw_test.cpp
+++ b/tests/ftw_test.cpp
@@ -50,8 +50,8 @@
}
void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) {
- ASSERT_TRUE(fpath != NULL);
- ASSERT_TRUE(sb != NULL);
+ ASSERT_TRUE(fpath != nullptr);
+ ASSERT_TRUE(sb != nullptr);
// Was it a case where the struct stat we're given is meaningless?
if (tflag == FTW_NS || tflag == FTW_SLN) {