diff options
author | Ian Romanick <[email protected]> | 2011-08-29 14:56:29 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-09 12:01:50 -0700 |
commit | 9a3bd5e0452c9c791ba94155d3c9ddba42abd114 (patch) | |
tree | b4b8600b5df735d507f162714c8844a67207943b /src/glsl/opt_discard_simplification.cpp | |
parent | 681d432f8186cd97e04cf293add72fd73c50523d (diff) |
glsl: Silence several "warning: unused parameter"
Diffstat (limited to 'src/glsl/opt_discard_simplification.cpp')
-rw-r--r-- | src/glsl/opt_discard_simplification.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_discard_simplification.cpp b/src/glsl/opt_discard_simplification.cpp index a19947ddd6c..ba4981bae53 100644 --- a/src/glsl/opt_discard_simplification.cpp +++ b/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; } |