1
0
mirror of https://gitea.quitesimple.org/crtxcr/cgitsb synced 2024-11-22 15:52:00 +01:00

Remove unused parameter from cgit_print_snapshot()

This commit is contained in:
Lukas Fleischer 2014-02-08 14:37:29 +01:00 committed by Jason A. Donenfeld
parent e6749644bc
commit 3e9578e9a3
3 changed files with 3 additions and 3 deletions

2
cmd.c

@ -113,7 +113,7 @@ static void refs_fn(void)
static void snapshot_fn(void)
{
cgit_print_snapshot(ctx.qry.head, ctx.qry.sha1, ctx.qry.path,
ctx.repo->snapshots, ctx.qry.nohead);
ctx.qry.nohead);
}
static void stats_fn(void)

@ -193,7 +193,7 @@ static void show_error(char *fmt, ...)
}
void cgit_print_snapshot(const char *head, const char *hex,
const char *filename, int snapshots, int dwim)
const char *filename, int dwim)
{
const struct cgit_snapshot_format* f;
char *prefix = NULL;

@ -2,6 +2,6 @@
#define UI_SNAPSHOT_H
extern void cgit_print_snapshot(const char *head, const char *hex,
const char *filename, int snapshot, int dwim);
const char *filename, int dwim);
#endif /* UI_SNAPSHOT_H */