From dd4fada6cddb2be4f3969c63aafca228407a2da3 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 12 Dec 2016 11:19:20 -0800 Subject: [PATCH] glsl: Silence unused parameter warning in propagate_invariance.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit glsl/propagate_invariance.cpp: In member function ‘virtual ir_visitor_status {anonymous}::ir_invariance_propagation_visitor::visit_leave(ir_assignment*)’: glsl/propagate_invariance.cpp:86:63: warning: unused parameter ‘ir’ [-Wunused-parameter] ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir) ^~ Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/compiler/glsl/propagate_invariance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/propagate_invariance.cpp b/src/compiler/glsl/propagate_invariance.cpp index b834b4969f9..b3f1d810cdb 100644 --- a/src/compiler/glsl/propagate_invariance.cpp +++ b/src/compiler/glsl/propagate_invariance.cpp @@ -83,7 +83,7 @@ ir_invariance_propagation_visitor::visit_enter(ir_assignment *ir) } ir_visitor_status -ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir) +ir_invariance_propagation_visitor::visit_leave(ir_assignment *) { this->dst_var = NULL; -- 2.30.2