From 98c9eeb749fbf16178d3952beeee2018a183e46f Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Wed, 9 Dec 2020 02:10:17 +0100 Subject: [PATCH] fix scconfig warning about const char * --- scconfig/src/scripts/find_fungw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scconfig/src/scripts/find_fungw.c b/scconfig/src/scripts/find_fungw.c index 028a118a..a84d81f8 100644 --- a/scconfig/src/scripts/find_fungw.c +++ b/scconfig/src/scripts/find_fungw.c @@ -85,8 +85,8 @@ int find_script_fungw_user_call_ctx(const char *name, int logdepth, int fatal) int find_script_fungw_cfg_pupdir(const char *name, int logdepth, int fatal) { - const char *lf, *cf, *inc; - char * out; + const char *lf, *cf; + char *out; char *test_c = NL "#include " NL "int main() {" @@ -102,7 +102,7 @@ int find_script_fungw_cfg_pupdir(const char *name, int logdepth, int fatal) logprintf(logdepth, "find_fungw_cfg_pupdir: trying to find fungw pupdir...\n"); logdepth++; - inc = get("libs/script/fungw/includes"); +/* inc = get("libs/script/fungw/includes");*/ lf = get("libs/script/fungw/ldflags"); cf = get("libs/script/fungw/cflags"); @@ -129,4 +129,4 @@ int find_script_fungw_all(const char *name, int logdepth, int fatal) return 1; require("libs/script/fungw/user_call_ctx/*", logdepth, 0); return 0; -} +} \ No newline at end of file