aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/glsl/propagate_invariance.cpp2
1 files changed, 1 insertions, 1 deletions
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;