summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/symbol_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/program/symbol_table.c b/src/mesa/program/symbol_table.c
index 004f1f8fa7b..4f6f31f3109 100644
--- a/src/mesa/program/symbol_table.c
+++ b/src/mesa/program/symbol_table.c
@@ -255,6 +255,7 @@ _mesa_symbol_table_iterator_next(struct _mesa_symbol_table_iterator *iter)
while (iter->curr != NULL) {
assert(iter->curr->hdr == hdr);
+ (void)hdr;
if ((iter->name_space == -1)
|| (iter->curr->name_space == iter->name_space)) {