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 /apply.c | |
parent | 2f80d1b42e6bcbd8586a41be247aadc6743fadc9 (diff) | |
parent | c25d9e529d531adf0697e0c09ba292227c835164 (diff) | |
download | git-8d404d0d952ed0f09682c9651f82ce7e30eeb819.tar.gz |
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 'apply.c')
-rw-r--r-- | apply.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2913,7 +2913,7 @@ static int apply_one_fragment(struct apply_state *state, break; case ' ': if (plen && (ws_rule & WS_BLANK_AT_EOF) && - ws_blank_line(patch + 1, plen, ws_rule)) + ws_blank_line(patch + 1, plen)) is_blank_context = 1; /* fallthrough */ case '-': @@ -2942,7 +2942,7 @@ static int apply_one_fragment(struct apply_state *state, (first == '+' ? 0 : LINE_COMMON)); if (first == '+' && (ws_rule & WS_BLANK_AT_EOF) && - ws_blank_line(patch + 1, plen, ws_rule)) + ws_blank_line(patch + 1, plen)) added_blank_line = 1; break; case '@': case '\\': |