From: Dale Weiler Date: Fri, 28 Dec 2012 12:33:10 +0000 (+0000) Subject: Fix one warning X-Git-Tag: before-library~456 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6935561b41dc0a07ca818187fc16a0334711cf04;p=xonotic%2Fgmqcc.git Fix one warning --- diff --git a/exec.c b/exec.c index 7931486..2957d4c 100644 --- a/exec.c +++ b/exec.c @@ -359,7 +359,7 @@ static void trace_print_global(qc_program *prog, unsigned int glob, int vtype) done: if (len < (int)sizeof(spaces)-1) { spaces[sizeof(spaces)-1-len] = 0; - printf(spaces); + file_puts(stdout, spaces); spaces[sizeof(spaces)-1-len] = ' '; } } diff --git a/splint.sh b/splint.sh index fcce1b4..8408918 100755 --- a/splint.sh +++ b/splint.sh @@ -64,7 +64,6 @@ FLAGS_MAYBE="\ # remove one flag from here at a time while fixing the code so that FLAGS_TOFIX="\ -boolcompare \ - -formatconst \ -unreachable \ -incondefs \ -initallelements \