setup: document check_repository_format()
[gitweb.git] / setup.c
diff --git a/setup.c b/setup.c
index de1a2a7ea5973fef256328a26730117466c15172..b2f2e690e46d6dae1372a7022a0eca71a7fb80ed 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -982,9 +982,9 @@ int check_repository_format_version(const char *var, const char *value, void *cb
        return 0;
 }
 
-int check_repository_format(void)
+void check_repository_format(void)
 {
-       return check_repository_format_gently(get_git_dir(), NULL);
+       check_repository_format_gently(get_git_dir(), NULL);
 }
 
 /*