diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2014-02-08 22:37:29 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-02-22 02:19:00 (JST) |
commit | 3e9578e9a3393eaebc658ad650a3241bf1930176 (patch) | |
tree | ddc1d687dca3bfb839f1c876e85bc6900f9d81aa | |
parent | e6749644bc60865cb560a532b14fb3a007fb00ea (diff) | |
download | cgit-3e9578e9a3393eaebc658ad650a3241bf1930176.zip cgit-3e9578e9a3393eaebc658ad650a3241bf1930176.tar.gz |
Remove unused parameter from cgit_print_snapshot()
-rw-r--r-- | cmd.c | 2 | ||||
-rw-r--r-- | ui-snapshot.c | 2 | ||||
-rw-r--r-- | ui-snapshot.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -113,7 +113,7 @@ static void refs_fn(void) | |||
113 | static void snapshot_fn(void) | 113 | static void snapshot_fn(void) |
114 | { | 114 | { |
115 | cgit_print_snapshot(ctx.qry.head, ctx.qry.sha1, ctx.qry.path, | 115 | cgit_print_snapshot(ctx.qry.head, ctx.qry.sha1, ctx.qry.path, |
116 | ctx.repo->snapshots, ctx.qry.nohead); | 116 | ctx.qry.nohead); |
117 | } | 117 | } |
118 | 118 | ||
119 | static void stats_fn(void) | 119 | 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, ...) | |||
193 | } | 193 | } |
194 | 194 | ||
195 | void cgit_print_snapshot(const char *head, const char *hex, | 195 | void cgit_print_snapshot(const char *head, const char *hex, |
196 | const char *filename, int snapshots, int dwim) | 196 | const char *filename, int dwim) |
197 | { | 197 | { |
198 | const struct cgit_snapshot_format* f; | 198 | const struct cgit_snapshot_format* f; |
199 | char *prefix = NULL; | 199 | 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 @@ | |||
2 | #define UI_SNAPSHOT_H | 2 | #define UI_SNAPSHOT_H |
3 | 3 | ||
4 | extern void cgit_print_snapshot(const char *head, const char *hex, | 4 | extern void cgit_print_snapshot(const char *head, const char *hex, |
5 | const char *filename, int snapshot, int dwim); | 5 | const char *filename, int dwim); |
6 | 6 | ||
7 | #endif /* UI_SNAPSHOT_H */ | 7 | #endif /* UI_SNAPSHOT_H */ |