projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e26145
)
glsl2: Silence unused variable warning
author
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 16 Aug 2010 20:59:01 +0000
(13:59 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 16 Aug 2010 20:59:01 +0000
(13:59 -0700)
src/glsl/ir_structure_splitting.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_structure_splitting.cpp
b/src/glsl/ir_structure_splitting.cpp
index c0244071ee2a738626667cc668d7f9ca4cb7b040..91f6dac23e0c50e83ecc467cba97f1372858c093 100644
(file)
--- 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;
}