From 736cef847cf788d90f39d15bb4be684bc4ba1013 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Thu, 19 Mar 2026 22:49:06 +0000 Subject: [PATCH] object-file: fix sparse 'plain integer as NULL pointer' error Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- object-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object-file.c b/object-file.c 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: