mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
glsl: Silence unused variable warning.
The variable is used but only in the body of an assert.
This commit is contained in:
parent
b48f20dab8
commit
e5df3cc286
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ glsl_type::generate_constructor(glsl_symbol_table *symtab) const
|
|||
|
||||
bool added = symtab->add_function(name, f);
|
||||
assert(added);
|
||||
(void) added;
|
||||
|
||||
ir_function_signature *const sig = new(ctx) ir_function_signature(this);
|
||||
f->add_signature(sig);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue