summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/ir_structure_splitting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_structure_splitting.cpp b/src/glsl/ir_structure_splitting.cpp
index c0244071ee2..91f6dac23e0 100644
--- a/src/glsl/ir_structure_splitting.cpp
+++ b/src/glsl/ir_structure_splitting.cpp
@@ -138,6 +138,7 @@ ir_structure_reference_visitor::visit(ir_dereference_variable *ir)
ir_visitor_status
ir_structure_reference_visitor::visit_enter(ir_dereference_record *ir)
{
+ (void) ir;
/* Don't descend into the ir_dereference_variable below. */
return visit_continue_with_parent;
}