diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-06-13 23:19:34 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-13 23:19:34 +0300 |
commit | c0e78f7e4687e7bd5ff0b83974b28c1cc81c5487 (patch) | |
tree | 7e76e391d8b932b10461fb6f9f64522ce5ba747c /wt-status.c | |
parent | 8202d12fca5d482640a51c663d4d556c46dbc6b8 (diff) | |
parent | 837303700a73836930cfe1e870e5abb8c730e2fd (diff) |
Merge branch 'jk/unused-params-final-batch'
* jk/unused-params-final-batch:
verify-commit: simplify parameters to run_gpg_verify()
show-branch: drop unused parameter from show_independent()
rev-list: drop unused void pointer from finish_commit()
remove_all_fetch_refspecs(): drop unused "remote" parameter
receive-pack: drop unused "commands" from prepare_shallow_update()
pack-objects: drop unused rev_info parameters
name-rev: drop unused parameters from is_better_name()
mktree: drop unused length parameter
wt-status: drop unused status parameter
read-cache: drop unused parameter from threaded load
clone: drop dest parameter from copy_alternates()
submodule: drop unused prefix parameter from some functions
builtin: consistently pass cmd_* prefix to parse_options
cmd_{read,write}_tree: rename "unused" variable that is used
Diffstat (limited to 'wt-status.c')
-rw-r--r-- | wt-status.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wt-status.c b/wt-status.c index d2a1bec226..0bccef542f 100644 --- a/wt-status.c +++ b/wt-status.c @@ -2076,9 +2076,7 @@ static void wt_porcelain_v2_submodule_state( /* * Fix-up changed entries before we print them. */ -static void wt_porcelain_v2_fix_up_changed( - struct string_list_item *it, - struct wt_status *s) +static void wt_porcelain_v2_fix_up_changed(struct string_list_item *it) { struct wt_status_change_data *d = it->util; @@ -2138,7 +2136,7 @@ static void wt_porcelain_v2_print_changed_entry( char submodule_token[5]; char sep_char, eol_char; - wt_porcelain_v2_fix_up_changed(it, s); + wt_porcelain_v2_fix_up_changed(it); wt_porcelain_v2_submodule_state(d, submodule_token); key[0] = d->index_status ? d->index_status : '.'; |