diff options
author | Michal Krol <[email protected]> | 2008-07-16 20:14:42 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-07-16 20:14:42 +0200 |
commit | 7a0b79fe3632ca45def56679868473334ef1e194 (patch) | |
tree | 3cb5699f7a2ab07eecdec77dcd9d9d9e7bc5f251 | |
parent | 26df49cd7a67aa9dc26e9cf271d6ed121f08f95d (diff) |
mesa: Silence compiler warnings on Windows.
-rw-r--r-- | src/mesa/shader/slang/slang_print.c | 7 |
1 files changed, 2 insertions, 5 deletions
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); |