From 28435ec58c2ef9bb571cad5f8a1129aea3ecc204 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 13 May 2017 08:59:06 +0200 Subject: configure: --config-musl/-uClibc switch & misc cleanups - configure: - add --config-uClibc,-musl switch and suggest to use it if uClibc/musl is detected - make warning options magic clang compatible - simplify (use $confvars instead of individual options) - Revert "Remove some unused-parameter lint" 7443db0d5f841b81a55e918bf8c228dd20f9ddb2 rather use -Wno-unused-parameter (or just not -Wextra) - #ifdef functions that are unused on some targets - tccgen.c: use PTR_SIZE==8 instead of (X86_64 || ARM64) - tccpe.c: fix some warnings - integrate dummy arm-asm better --- tccasm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tccasm.c') diff --git a/tccasm.c b/tccasm.c index c8b2666..f22ed9f 100644 --- a/tccasm.c +++ b/tccasm.c @@ -26,7 +26,6 @@ ST_FUNC int asm_get_local_label_name(TCCState *s1, unsigned int n) char buf[64]; TokenSym *ts; - (void) s1; /* not used */ snprintf(buf, sizeof(buf), "L..%u", n); ts = tok_alloc(buf, strlen(buf)); return ts->tok; @@ -435,7 +434,6 @@ static void asm_free_labels(TCCState *st) static void use_section1(TCCState *s1, Section *sec) { - (void) s1; /* not used */ cur_text_section->data_offset = ind; cur_text_section = sec; ind = cur_text_section->data_offset; -- cgit v1.3.1