mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
mark unused read_tree_recursive() callback parameters
We pass a callback to read_tree_recursive(), but not every callback needs every parameter. Let's mark the unused ones to satisfy -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
02c3c59e62
commit
555ff1c8a4
@@ -618,7 +618,7 @@ static int archive_zip_config(const char *var, const char *value,
|
||||
return userdiff_config(var, value);
|
||||
}
|
||||
|
||||
static int write_zip_archive(const struct archiver *ar,
|
||||
static int write_zip_archive(const struct archiver *UNUSED(ar),
|
||||
struct archiver_args *args)
|
||||
{
|
||||
int err;
|
||||
|
||||
Reference in New Issue
Block a user