aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/fsck.c')
-rw-r--r--builtin/fsck.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c
index 60f4e6fad9..87068cee09 100644
--- a/builtin/fsck.c
+++ b/builtin/fsck.c
@@ -925,7 +925,10 @@ static struct option fsck_opts[] = {
OPT_END(),
};
-int cmd_fsck(int argc, const char **argv, const char *prefix)
+int cmd_fsck(int argc,
+ const char **argv,
+ const char *prefix,
+ struct repository *repo UNUSED)
{
int i;
struct object_directory *odb;