From eeddb5bc0905d4728001a111a9b1eb60ecccf9bd Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 5 Oct 2014 10:59:02 +0100 Subject: ui-shared: remove toggle_ssdiff arg to cgit_commit_link() This argument is never used with a value other than zero, so remove it and simplify the code. Signed-off-by: John Keeping --- ui-refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-refs.c') diff --git a/ui-refs.c b/ui-refs.c index 7e58737..d2ba48d 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -67,7 +67,7 @@ static int print_branch(struct refinfo *ref) html(""); if (ref->object->type == OBJ_COMMIT) { - cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0); + cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL); html(""); cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs"); html_txt(info->author); -- cgit 1.4.1