Fix one warning

This commit is contained in:
Dale Weiler 2012-12-28 12:33:10 +00:00
parent f58b4a6cd9
commit 6935561b41
2 changed files with 1 additions and 2 deletions

2
exec.c
View file

@ -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] = ' ';
}
}

View file

@ -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 \