From 6754bebe876a7d406aa06abf6798842106b7f26c Mon Sep 17 00:00:00 2001 From: Fierelier Date: Thu, 22 Feb 2024 19:46:20 +0100 Subject: [PATCH] Remove stale code --- lua-5.3/compile.c | 9 --------- tinycc-d2f8ceac/compile.c | 9 --------- 2 files changed, 18 deletions(-) diff --git a/lua-5.3/compile.c b/lua-5.3/compile.c index 7b150ff..fbfc716 100644 --- a/lua-5.3/compile.c +++ b/lua-5.3/compile.c @@ -30,15 +30,6 @@ #error "Compilation failed." #endif -void system_error(const char * command) { - printf("* %s\n",command); - int code = system(command); - if (code != 0) { - printf("Error %d, quitting.\n",code); - exit(code); - } -} - int _call_proc(char * argv[]) { #if PLATFORM_LINUX pid_t pid; diff --git a/tinycc-d2f8ceac/compile.c b/tinycc-d2f8ceac/compile.c index 2d40945..ca7d53e 100644 --- a/tinycc-d2f8ceac/compile.c +++ b/tinycc-d2f8ceac/compile.c @@ -56,15 +56,6 @@ #error "Compilation failed." #endif -void system_error(const char * command) { - printf("* %s\n",command); - int code = system(command); - if (code != 0) { - printf("Error %d, quitting.\n",code); - exit(code); - } -} - int _call_proc(char * argv[]) { #if PLATFORM_LINUX pid_t pid;