diff options
author | John Keeping <john@keeping.me.uk> | 2014-10-05 13:59:02 +0400 |
---|---|---|
committer | Lukas Fleischer <cgit@cryptocrack.de> | 2014-12-13 14:38:42 +0300 |
commit | eeddb5bc0905d4728001a111a9b1eb60ecccf9bd (patch) | |
tree | e1193c55a604584acc8e3198838b358d44a65133 /ui-refs.c | |
parent | 49f607777fe3d9393574a572d72caa568ee3ca3c (diff) |
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 <john@keeping.me.uk>
Diffstat (limited to 'ui-refs.c')
-rw-r--r-- | ui-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ static int print_branch(struct refinfo *ref) html("</td><td>"); 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("</td><td>"); cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs"); html_txt(info->author); |