aboutsummaryrefslogtreecommitdiffstats
path: root/blob.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-26 11:42:04 +0900
committerJunio C Hamano <gitster@pobox.com>2022-12-26 11:42:05 +0900
commit179547932fb8484a5ab532ef1b56ed8b01946ab5 (patch)
tree3970dc42db5735f61611a5c3bd9f0f1d60e0c7a4 /blob.c
parentMerge branch 'jt/http-fetch-trace2-report-name' (diff)
parentuserdiff: mark unused parameter in internal callback (diff)
downloadgit-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/blob.c b/blob.c
index 182718aba9..8f83523b0c 100644
--- a/blob.c
+++ b/blob.c
@@ -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;
}