aboutsummaryrefslogtreecommitdiff
path: root/object-file.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2026-03-19 22:49:06 +0000
committerJunio C Hamano <gitster@pobox.com>2026-03-19 18:35:49 -0700
commit736cef847cf788d90f39d15bb4be684bc4ba1013 (patch)
tree5d5565b28712e2cfe9787217c4eea46e23b52df8 /object-file.c
parent6801ffd37df8420917e1feaf03b5f7c175798bff (diff)
downloadgit-736cef847cf788d90f39d15bb4be684bc4ba1013.tar.xz
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>
Diffstat (limited to 'object-file.c')
-rw-r--r--object-file.c2
1 files changed, 1 insertions, 1 deletions
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: