From: Jeff King Date: Tue, 29 Aug 2023 23:45:13 +0000 (-0400) Subject: pack-bitmap: mark unused parameters in show_object callback X-Git-Tag: v2.43.0-rc0~106^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d79b9f7cdb68055c5cb8a77b2c4c5970f8802833;p=thirdparty%2Fgit.git pack-bitmap: mark unused parameters in show_object callback This is similar to the cases in c50dca2a18 (list-objects: mark unused callback parameters, 2023-02-24), but was added after that commit. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/pack-bitmap.c b/pack-bitmap.c index 6afc03d1e4..ca8319b87c 100644 --- a/pack-bitmap.c +++ b/pack-bitmap.c @@ -1101,8 +1101,9 @@ static void show_boundary_commit(struct commit *commit, void *_data) } } -static void show_boundary_object(struct object *object, - const char *name, void *data) +static void show_boundary_object(struct object *object UNUSED, + const char *name UNUSED, + void *data UNUSED) { BUG("should not be called"); }