]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object-file.c
fsck: mark unused parameters in various fsck callbacks
[thirdparty/git.git] / object-file.c
index 8d87720dd53f851a4ef52e7f96f5202fd2a0840f..68a2397e33a00cd3ef60ad6f138dc69e69c2225b 100644 (file)
@@ -2308,11 +2308,11 @@ int repo_has_object_file(struct repository *r,
  * report the minimal fsck error here, and rely on the caller to
  * give more context.
  */
-static int hash_format_check_report(struct fsck_options *opts,
-                                    const struct object_id *oid,
-                                    enum object_type object_type,
-                                    enum fsck_msg_type msg_type,
-                                    enum fsck_msg_id msg_id,
+static int hash_format_check_report(struct fsck_options *opts UNUSED,
+                                    const struct object_id *oid UNUSED,
+                                    enum object_type object_type UNUSED,
+                                    enum fsck_msg_type msg_type UNUSED,
+                                    enum fsck_msg_id msg_id UNUSED,
                                     const char *message)
 {
        error(_("object fails fsck: %s"), message);