]> git.ipfire.org Git - thirdparty/git.git/commitdiff
stash: mark unused parameter in diff callback
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:20 +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 61bdc7c5d8 (diff: mark unused parameters
in callbacks, 2022-12-13), but I missed it when making that commit.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/stash.c

index fe64cde9ce3010e812f789dfbe040c64f16bec45..c9365bea1320994cc22c4b39f9a17eb53d6e1e51 100644 (file)
@@ -362,7 +362,7 @@ static int is_path_a_directory(const char *path)
 }
 
 static void add_diff_to_buf(struct diff_queue_struct *q,
-                           struct diff_options *options,
+                           struct diff_options *options UNUSED,
                            void *data)
 {
        int i;