mesa: Silence warning
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 9 Jan 2012 14:37:51 +0000 (15:37 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 10 Jan 2012 15:59:43 +0000 (16:59 +0100)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by Brian Paul <brianp@vmware.com>
Reviewed-by Ian Romanick <ian.d.romanick@intel.com>

src/mesa/program/symbol_table.c

index 004f1f8fa7b535bc399fd96425cdfc060b04e4fb..4f6f31f31098cfc65e556162d5d4364913ea35d4 100644 (file)
@@ -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)) {