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-Tag: 062012170305~10660^2~625^2~346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1168d95109094f171cf05457385381d053a8581e;p=profile%2Fivi%2Fmesa.git ir_print_visitor: Remove unnecessary parenthesis around variable names. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 6eb9a1d..75fc109 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); } }