]> git.ipfire.org Git - thirdparty/git.git/commitdiff
pack-bitmap: mark unused parameters in show_object callback
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:13 +0000 (19:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 00:56:24 +0000 (17:56 -0700)
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c

index 6afc03d1e4c39e53c1c48deb51c16d65667979e8..ca8319b87c66f75941b43ab029d69e6eda19e3be 100644 (file)
@@ -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");
 }