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
@@ -26,7 +26,7 @@ static int message_append_basic(sd_bus_message *m, char type, const void *p, con
static void *adjust_pointer(const void *p, void *old_base, size_t sz, void *new_base) {
if (p == NULL)
if (!p)
return NULL;
if (old_base == new_base)