diff options
| author | Jeff King <peff@peff.net> | 2023-02-24 01:39:48 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 09:13:33 -0800 |
| commit | 506ebaac96b7d9a42853c16d0523fd493b7991da (patch) | |
| tree | 4b1724759753b131c4c9e5e468192f0d63c9c63e /help.c | |
| parent | run_processes_parallel: mark unused callback parameters (diff) | |
| download | git-506ebaac96b7d9a42853c16d0523fd493b7991da.tar.gz git-506ebaac96b7d9a42853c16d0523fd493b7991da.zip | |
help: mark unused parameter in git_unknown_cmd_config()
The extra callback parameter became unused in 0918d08887 (help.c: fix
autocorrect in work tree for bare repository, 2022-10-29), but we can't
get rid of it because we must conform to the config callback interface.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
| -rw-r--r-- | help.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -540,7 +540,8 @@ static struct cmdnames aliases; #define AUTOCORRECT_NEVER (-2) #define AUTOCORRECT_IMMEDIATELY (-1) -static int git_unknown_cmd_config(const char *var, const char *value, void *cb) +static int git_unknown_cmd_config(const char *var, const char *value, + void *cb UNUSED) { const char *p; |
