From: Michal Krol Date: Wed, 16 Jul 2008 18:14:42 +0000 (+0200) Subject: mesa: Silence compiler warnings on Windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a0b79fe3632ca45def56679868473334ef1e194;p=mesa.git mesa: Silence compiler warnings on Windows. --- diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c index bb0da9e34d8..f48762fb111 100644 --- a/src/mesa/shader/slang/slang_print.c +++ b/src/mesa/shader/slang/slang_print.c @@ -265,11 +265,8 @@ slang_print_tree(const slang_operation *op, int indent) printf("{{ // new scope locals=%p outer=%p: ", (void *) op->locals, (void *) op->locals->outer_scope); - { - int i; - for (i = 0; i < op->locals->num_variables; i++) { - printf("%s ", (char *) op->locals->variables[i]->a_name); - } + for (i = 0; i < op->locals->num_variables; i++) { + printf("%s ", (char *) op->locals->variables[i]->a_name); } printf("\n"); print_generic(op, NULL, indent+3);