From 7f218cfae810965a3b094270d6df3b92c22d3fe0 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 20 Jan 2021 13:33:37 -0500 Subject: Remove Lua support Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up. --- cgit.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 413ac4c..ead540b 100644 --- a/cgit.c +++ b/cgit.c @@ -972,12 +972,6 @@ static void cgit_parse_args(int argc, const char **argv) for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "--version")) { printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); -#ifdef NO_LUA - printf("[-] "); -#else - printf("[+] "); -#endif - printf("Lua scripting\n"); #ifndef HAVE_LINUX_SENDFILE printf("[-] "); #else @@ -1059,7 +1053,6 @@ int cmd_main(int argc, const char **argv) const char *path; int err, ttl; - cgit_init_filters(); atexit(cgit_cleanup_filters); prepare_context(); -- cgit 1.5.1