From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 14:37:51 +0000 (+0100) Subject: mesa: Silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=230cc36611346ad61610d6c19404e777878d7501;p=mesa.git mesa: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul Reviewed-by Ian Romanick --- 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)) {