glsl: Silence unused variable warning.

The variable is actually used but only in the body of an assert.
This commit is contained in:
Vinson Lee
2010-08-21 16:21:41 -07:00
parent be99100ee7
commit 13b3d4c23d

View File

@@ -1973,6 +1973,7 @@ ast_declarator_list::hir(exec_list *instructions,
const bool added_variable =
state->symbols->add_variable(var->name, var);
assert(added_variable);
(void) added_variable;
}