summaryrefslogtreecommitdiffstats
path: root/builtin/stash.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-08-30 01:45:20 +0200
committerJunio C Hamano <gitster@pobox.com>2023-08-30 02:56:24 +0200
commit71006d77c5d02fff51e036919632c5e3dad5d551 (patch)
tree9160a57fa5b96555d431afa5dc156c687a110004 /builtin/stash.c
parentls-tree: mark unused parameter in callback (diff)
downloadgit-71006d77c5d02fff51e036919632c5e3dad5d551.tar.xz
git-71006d77c5d02fff51e036919632c5e3dad5d551.zip
stash: mark unused parameter in diff callback
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>
Diffstat (limited to '')
-rw-r--r--builtin/stash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/stash.c b/builtin/stash.c
index fe64cde9ce..c9365bea13 100644
--- a/builtin/stash.c
+++ b/builtin/stash.c
@@ -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;