summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_array_splitting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/opt_array_splitting.cpp')
-rw-r--r--src/compiler/glsl/opt_array_splitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/opt_array_splitting.cpp b/src/compiler/glsl/opt_array_splitting.cpp
index d2e81665b7e..7d928b9356b 100644
--- a/src/compiler/glsl/opt_array_splitting.cpp
+++ b/src/compiler/glsl/opt_array_splitting.cpp
@@ -195,7 +195,7 @@ ir_array_reference_visitor::visit_enter(ir_assignment *ir)
}
ir_visitor_status
-ir_array_reference_visitor::visit_leave(ir_assignment *ir)
+ir_array_reference_visitor::visit_leave(ir_assignment *)
{
in_whole_array_copy = false;