From: Ramsay Jones Date: Thu, 19 Mar 2026 22:49:06 +0000 (+0000) Subject: object-file: fix sparse 'plain integer as NULL pointer' error X-Git-Tag: v2.54.0-rc1~22^2~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=736cef847cf788d90f39d15bb4be684bc4ba1013;p=thirdparty%2Fgit.git object-file: fix sparse 'plain integer as NULL pointer' error Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- 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: