summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_validate.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-08-02 11:46:22 -0700
committerIan Romanick <[email protected]>2010-08-02 13:53:32 -0700
commit7ffe40532f6b22d9b80caeac0fc3b9495619186a (patch)
tree3e6cbd1de69e3d14af258f320ac7fe1a9fe1b788 /src/glsl/ir_validate.cpp
parentcf41c8a0d8dac52bafb7c3e85171566c492786ab (diff)
glsl2: Clean-up two 'unused variable' warnings
Diffstat (limited to 'src/glsl/ir_validate.cpp')
-rw-r--r--src/glsl/ir_validate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index f9f781b36ab..712e1376fa1 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -336,6 +336,8 @@ ir_validate::validate_ir(ir_instruction *ir, void *data)
void
check_node_type(ir_instruction *ir, void *data)
{
+ (void) data;
+
if (ir->ir_type <= ir_type_unset || ir->ir_type >= ir_type_max) {
printf("Instruction node with unset type\n");
ir->print(); printf("\n");