diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-16 13:59:01 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-16 13:59:01 -0700 |
commit | d0a9cbd20ee0a1b5c350fed1c470946e4500f793 (patch) | |
tree | 166f9cc9b9dbadd2bf605e975e11c87911f069ee /src | |
parent | 2e2614586225b3fff3c21f37817064a90dd320ad (diff) |
glsl2: Silence unused variable warning
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir_structure_splitting.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_structure_splitting.cpp b/src/glsl/ir_structure_splitting.cpp index c0244071ee..91f6dac23e 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; } |