glsl: Silence unused variable warning.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Aug 2010 12:53:15 +0000 (13:53 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Aug 2010 12:53:15 +0000 (13:53 +0100)
src/glsl/glsl_symbol_table.cpp

index 11e1671..ed71244 100644 (file)
@@ -104,6 +104,7 @@ bool glsl_symbol_table::add_variable(const char *name, ir_variable *v)
            entry->f = existing->f;
         int added = _mesa_symbol_table_add_symbol(table, -1, name, entry);
         assert(added == 0);
+        (void)added;
         return true;
       }
       return false;