diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-12-26 11:42:04 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-26 11:42:05 +0900 |
| commit | 179547932fb8484a5ab532ef1b56ed8b01946ab5 (patch) | |
| tree | 3970dc42db5735f61611a5c3bd9f0f1d60e0c7a4 /blob.c | |
| parent | Merge branch 'jt/http-fetch-trace2-report-name' (diff) | |
| parent | userdiff: mark unused parameter in internal callback (diff) | |
| download | git-179547932fb8484a5ab532ef1b56ed8b01946ab5.tar.gz 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 'blob.c')
| -rw-r--r-- | blob.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -13,8 +13,7 @@ struct blob *lookup_blob(struct repository *r, const struct object_id *oid) return object_as_type(obj, OBJ_BLOB, 0); } -int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size) +void parse_blob_buffer(struct blob *item) { item->object.parsed = 1; - return 0; } |
