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>
Jeff King committed
Aug 29, 2023 at 19:45 UTC
71006d77c5d02fff51e036919632c5e3dad5d551
1 file changed
+1
-1
builtin/stash.c
+1
-1
@@ -362,7 +362,7 @@ static int is_path_a_directory(const char *path)
362
}
363
364
static void add_diff_to_buf(struct diff_queue_struct *q,
365
- struct diff_options *options,
365
+ struct diff_options *options UNUSED,
366
void *data)
367
{
368
int i;