From: Kenneth Graunke Date: Sat, 10 Apr 2010 00:59:51 +0000 (-0700) Subject: ir_print_visitor: Remove unnecessary parens around array size in types. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=668d0a992a33fc2caeda070c34b3c98b5b628d2f;p=mesa.git ir_print_visitor: Remove unnecessary parens around array size in types. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index de3df8874cc..9a8eaf599da 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -30,7 +30,7 @@ print_type(const glsl_type *t) if (t->base_type == GLSL_TYPE_ARRAY) { printf("(array "); print_type(t->fields.array); - printf(" (%u))", t->length); + printf(" %u)", t->length); } else if (t->base_type == GLSL_TYPE_STRUCT) { printf("(struct (%s %u ", t->name ? t->name : "@", t->length); printf("(FINISHME: structure fields go here) ");