tree-wide: apply equals-null.cocci
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -352,7 +352,7 @@ static void symdiff_prepare(struct rev_info *rev, struct symdiff *sym)
|
||||
othercount++;
|
||||
continue;
|
||||
}
|
||||
if (map == NULL)
|
||||
if (!map)
|
||||
map = bitmap_new();
|
||||
bitmap_set(map, i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user