all repos — cgit @ 3e9578e9a3393eaebc658ad650a3241bf1930176

a hyperfast web frontend for git written in c

Remove unused parameter from cgit_print_snapshot()
Lukas Fleischer cgit@cryptocrack.de
Sat, 08 Feb 2014 14:37:29 +0100
commit

3e9578e9a3393eaebc658ad650a3241bf1930176

parent

e6749644bc60865cb560a532b14fb3a007fb00ea

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M cmd.ccmd.c

@@ -113,7 +113,7 @@

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)
M ui-snapshot.cui-snapshot.c

@@ -193,7 +193,7 @@ cgit_print_docend();

} 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;
M ui-snapshot.hui-snapshot.h

@@ -2,6 +2,6 @@ #ifndef UI_SNAPSHOT_H

#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 */