diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-10-27 21:51:52 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-27 21:51:52 (GMT) |
commit | 220604042cb222019e7779287ab73615d7869376 (patch) | |
tree | 046dd7f16674322480c142016aa164fbdfb3ecb0 /builtin/remote.c | |
parent | 99bb1a0bea02c6dc78b6d8a1b219c687d792bf16 (diff) | |
parent | 4b992f0a24ad884eb43898cbb468fdf8fbe647bb (diff) | |
download | git-220604042cb222019e7779287ab73615d7869376.zip git-220604042cb222019e7779287ab73615d7869376.tar.gz git-220604042cb222019e7779287ab73615d7869376.tar.bz2 |
Merge branch 'jk/unused-anno-more'
More UNUSED annotation to help using -Wunused option with the
compiler.
* jk/unused-anno-more:
ll-merge: mark unused parameters in callbacks
diffcore-pickaxe: mark unused parameters in pickaxe functions
convert: mark unused parameter in null stream filter
apply: mark unused parameters in noop error/warning routine
apply: mark unused parameters in handlers
date: mark unused parameters in handler functions
string-list: mark unused callback parameters
object-file: mark unused parameters in hash_unknown functions
mark unused parameters in trivial compat functions
update-index: drop unused argc from do_reupdate()
submodule--helper: drop unused argc from module_list_compute()
diffstat_consume(): assert non-zero length
Diffstat (limited to 'builtin/remote.c')
-rw-r--r-- | builtin/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/remote.c b/builtin/remote.c index 910f7b9..93285fc 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -942,7 +942,7 @@ static int rm(int argc, const char **argv, const char *prefix) return result; } -static void clear_push_info(void *util, const char *string) +static void clear_push_info(void *util, const char *string UNUSED) { struct push_info *info = util; free(info->dest); |