diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-02-14 14:15:55 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-14 14:15:55 -0800 |
| commit | 8d404d0d952ed0f09682c9651f82ce7e30eeb819 (patch) | |
| tree | 24c30d713200829766dc3b692e8f4cf7608bdb04 /diff-lib.c | |
| parent | 2f80d1b42e6bcbd8586a41be247aadc6743fadc9 (diff) | |
| parent | c25d9e529d531adf0697e0c09ba292227c835164 (diff) | |
| download | git-8d404d0d952ed0f09682c9651f82ce7e30eeb819.tar.xz | |
Merge branch 'jk/unused-post-2.39' into maint-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 'diff-lib.c')
| -rw-r--r-- | diff-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index 2edea41a23..dec040c366 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -673,7 +673,7 @@ int index_differs_from(struct repository *r, return (has_changes != 0); } -static struct strbuf *idiff_prefix_cb(struct diff_options *opt, void *data) +static struct strbuf *idiff_prefix_cb(struct diff_options *opt UNUSED, void *data) { return data; } |
