object-file: fix sparse 'plain integer as NULL pointer' error

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ramsay Jones
2026-03-19 22:49:06 +00:00
committed by Junio C Hamano
parent 6801ffd37d
commit 736cef847c

View File

@@ -1916,7 +1916,7 @@ int odb_source_loose_count_objects(struct odb_source *source,
} else {
*out = 0;
ret = odb_source_loose_for_each_object(source, NULL, count_loose_object,
out, 0);
out, NULL);
}
out: