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>
Ramsay Jones committed
Mar 19, 2026 at 22:49 UTC
736cef847cf788d90f39d15bb4be684bc4ba1013
1 file changed
+1
-1
object-file.c
+1
-1
index 569ce6eaed..fa2ca60a59 100644
--- a/object-file.c
+++ b/object-file.c
@@ -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: