diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cgit.c b/cgit.c index 40a266b..f3fe4c7 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -964,12 +964,6 @@ static void cgit_parse_args(int argc, const char **argv) | |||
964 | for (i = 1; i < argc; i++) { | 964 | for (i = 1; i < argc; i++) { |
965 | if (!strcmp(argv[i], "--version")) { | 965 | if (!strcmp(argv[i], "--version")) { |
966 | printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); | 966 | printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); |
967 | #ifdef NO_LUA | ||
968 | printf("[-] "); | ||
969 | #else | ||
970 | printf("[+] "); | ||
971 | #endif | ||
972 | printf("Lua scripting\n"); | ||
973 | #ifndef HAVE_LINUX_SENDFILE | 967 | #ifndef HAVE_LINUX_SENDFILE |
974 | printf("[-] "); | 968 | printf("[-] "); |
975 | #else | 969 | #else |
@@ -1051,7 +1045,6 @@ int cmd_main(int argc, const char **argv) | |||
1051 | const char *path; | 1045 | const char *path; |
1052 | int err, ttl; | 1046 | int err, ttl; |
1053 | 1047 | ||
1054 | cgit_init_filters(); | ||
1055 | atexit(cgit_cleanup_filters); | 1048 | atexit(cgit_cleanup_filters); |
1056 | 1049 | ||
1057 | prepare_context(); | 1050 | prepare_context(); |