From: Kenneth Graunke Date: Fri, 9 Apr 2010 23:34:21 +0000 (-0700) Subject: ir_print_visitor: Remove unnecessary parenthesis around variable names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1168d95109094f171cf05457385381d053a8581e;p=mesa.git ir_print_visitor: Remove unnecessary parenthesis around variable names. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 6eb9a1dc415..75fc109e133 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -44,7 +44,7 @@ print_type(const glsl_type *t) void ir_print_visitor::visit(ir_variable *ir) { if (deref_depth) { - printf("(%s)", ir->name); + printf("%s", ir->name); } else { printf("(declare "); @@ -57,7 +57,7 @@ void ir_print_visitor::visit(ir_variable *ir) cent, inv, mode[ir->mode], interp[ir->interpolation]); print_type(ir->type); - printf("(%s)) ", ir->name); + printf(" %s)", ir->name); } }