glsl: Silence unused variable warning.
The variable is actually used but only in the body of an assert.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user