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 11e16713351e50378aae8ab78f148d4b62623074..ed71244cbf84a679cdcfb0f6e71e6bcb7148d9f4 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;