aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/opt_discard_simplification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/opt_discard_simplification.cpp')
-rw-r--r--mesalib/src/glsl/opt_discard_simplification.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/glsl/opt_discard_simplification.cpp b/mesalib/src/glsl/opt_discard_simplification.cpp
index a19947ddd..ba4981bae 100644
--- a/mesalib/src/glsl/opt_discard_simplification.cpp
+++ b/mesalib/src/glsl/opt_discard_simplification.cpp
@@ -138,6 +138,7 @@ is_only_instruction(ir_discard *discard)
ir_visitor_status
discard_simplifier::visit_enter(ir_assignment *ir)
{
+ (void) ir;
return visit_continue_with_parent;
}