tree-wide: replace explicit NULL checks with their shorter variants

Done by coccinelle/equals-null.cocci
This commit is contained in:
Frantisek Sumsal
2019-04-28 14:28:49 +02:00
parent 17e3e37c05
commit 4e361acc06
15 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ static int get_line(JournalImporter *imp, char **line, size_t *size) {
c = memchr(imp->buf + start, '\n',
imp->filled - start);
if (c != NULL)
if (c)
break;
}