From 13aa382c3bb518d2b3e96f28f7f28cad4bd843fd 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 5a5e3c8..2e5ebc1 100644 --- a/cgit.c +++ b/cgit.c @@ -973,12 +973,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 @@ -1060,7 +1054,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