* [PATCH] Remove unused parameter from cgit_print_snapshot()
@ 2014-02-08 13:37 cgit
0 siblings, 0 replies; only message in thread
From: cgit @ 2014-02-08 13:37 UTC (permalink / raw)
Signed-off-by: Lukas Fleischer <cgit at cryptocrack.de>
---
cmd.c | 2 +-
ui-snapshot.c | 2 +-
ui-snapshot.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmd.c b/cmd.c
index cbd235c..188cd56 100644
--- a/cmd.c
+++ b/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)
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 582dc31..3107b05 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -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;
diff --git a/ui-snapshot.h b/ui-snapshot.h
index b6ede52..a8deec3 100644
--- a/ui-snapshot.h
+++ b/ui-snapshot.h
@@ -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 */
--
1.8.5.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-08 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-08 13:37 [PATCH] Remove unused parameter from cgit_print_snapshot() cgit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).