From d9dff37691633aa44524ecae216c103ea497e940 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sat, 13 Aug 2016 11:51:58 +0100 Subject: shared: remove return value from cgit_free_commitinfo() This return value is never used and the function always returns NULL. Signed-off-by: John Keeping --- cgit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index f34395c..7df0e3a 100644 --- a/cgit.h +++ b/cgit.h @@ -343,7 +343,7 @@ extern void cgit_free_reflist_inner(struct reflist *list); extern int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags, void *cb_data); -extern void *cgit_free_commitinfo(struct commitinfo *info); +extern void cgit_free_commitinfo(struct commitinfo *info); void cgit_diff_tree_cb(struct diff_queue_struct *q, struct diff_options *options, void *data); -- cgit v1.2.3-59-g8ed1b