summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_if_simplification.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-29 14:56:29 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:50 -0700
commit9a3bd5e0452c9c791ba94155d3c9ddba42abd114 (patch)
treeb4b8600b5df735d507f162714c8844a67207943b /src/glsl/opt_if_simplification.cpp
parent681d432f8186cd97e04cf293add72fd73c50523d (diff)
glsl: Silence several "warning: unused parameter"
Diffstat (limited to 'src/glsl/opt_if_simplification.cpp')
-rw-r--r--src/glsl/opt_if_simplification.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_if_simplification.cpp b/src/glsl/opt_if_simplification.cpp
index 29b1d18aa59..940dd08d576 100644
--- a/src/glsl/opt_if_simplification.cpp
+++ b/src/glsl/opt_if_simplification.cpp
@@ -49,6 +49,7 @@ public:
ir_visitor_status
ir_if_simplification_visitor::visit_enter(ir_assignment *ir)
{
+ (void) ir;
return visit_continue_with_parent;
}