summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/ast_to_hir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 397c84e3438..b60bb2f0a0a 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -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;
}