diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-12-26 03:42:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-26 03:42:05 +0100 |
commit | 179547932fb8484a5ab532ef1b56ed8b01946ab5 (patch) | |
tree | 3970dc42db5735f61611a5c3bd9f0f1d60e0c7a4 /builtin/reset.c | |
parent | Merge branch 'jt/http-fetch-trace2-report-name' (diff) | |
parent | userdiff: mark unused parameter in internal callback (diff) | |
download | git-179547932fb8484a5ab532ef1b56ed8b01946ab5.tar.xz git-179547932fb8484a5ab532ef1b56ed8b01946ab5.zip |
Merge branch 'jk/unused-post-2.39'
Code clean-up around unused function parameters.
* jk/unused-post-2.39:
userdiff: mark unused parameter in internal callback
list-objects-filter: mark unused parameters in virtual functions
diff: mark unused parameters in callbacks
xdiff: mark unused parameter in xdl_call_hunk_func()
xdiff: drop unused parameter in def_ff()
ws: drop unused parameter from ws_blank_line()
list-objects: drop process_gitlink() function
blob: drop unused parts of parse_blob_buffer()
ls-refs: use repository parameter to iterate refs
Diffstat (limited to 'builtin/reset.c')
-rw-r--r-- | builtin/reset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/reset.c b/builtin/reset.c index dbf6fdfaf0..fea20a9ba0 100644 --- a/builtin/reset.c +++ b/builtin/reset.c @@ -133,7 +133,8 @@ static void print_new_head_line(struct commit *commit) } static void update_index_from_diff(struct diff_queue_struct *q, - struct diff_options *opt, void *data) + struct diff_options *opt UNUSED, + void *data) { int i; int intent_to_add = *(int *)data; |