clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / common / ini-config / ini.cpp
index 978b185fac98073f6e5beccdb952822cc301d183..cca38f8ca7c9a693c65bfade4cbd0e60ee429dba 100644 (file)
@@ -117,7 +117,7 @@ int ini_parse_file(FILE *file, ini_entry_handler handler, void *user)
 #endif
 
        /* Scan through file line by line */
-       while (fgets(line, INI_MAX_LINE, file) != NULL) {
+       while (fgets(line, INI_MAX_LINE, file) != nullptr) {
                lineno++;
 
                start = line;
This page took 0.022611 seconds and 4 git commands to generate.