about summary refs log tree commit diff stats
path: root/cgit.h
diff options
context:
space:
mode:
authorJohn Keeping2016-08-13 11:51:58 +0100
committerJohn Keeping2016-10-01 11:46:55 +0100
commitd9dff37691633aa44524ecae216c103ea497e940 (patch)
tree45ade38d5de7eb448ce05b4753429d446a8bc592 /cgit.h
parenttree: allow skipping through single-child trees (diff)
downloadcgit-d9dff37691633aa44524ecae216c103ea497e940.tar.gz
cgit-d9dff37691633aa44524ecae216c103ea497e940.zip
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 <john@keeping.me.uk>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 1 insertions, 1 deletions
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);
343extern int cgit_refs_cb(const char *refname, const struct object_id *oid, 343extern int cgit_refs_cb(const char *refname, const struct object_id *oid,
344 int flags, void *cb_data); 344 int flags, void *cb_data);
345 345
346extern void *cgit_free_commitinfo(struct commitinfo *info); 346extern void cgit_free_commitinfo(struct commitinfo *info);
347 347
348void cgit_diff_tree_cb(struct diff_queue_struct *q, 348void cgit_diff_tree_cb(struct diff_queue_struct *q,
349 struct diff_options *options, void *data); 349 struct diff_options *options, void *data);