diff options
author | José Fonseca <[email protected]> | 2011-03-16 09:16:01 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-03-16 09:16:01 +0000 |
commit | 6b3713f8b864cbe238b0e7efb28bca54b91ef0f8 (patch) | |
tree | 2d4dd00e36dde9c3d0dd4834adf7b5c6076f8c46 | |
parent | 5fc5820cbc0faf57a48154466b4792294841a690 (diff) |
glsl2: Silence unused added variable gcc warning.
-rw-r--r-- | src/glsl/glsl_symbol_table.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_symbol_table.cpp b/src/glsl/glsl_symbol_table.cpp index 2f291d4f97f..bcb65d30182 100644 --- a/src/glsl/glsl_symbol_table.cpp +++ b/src/glsl/glsl_symbol_table.cpp @@ -137,6 +137,7 @@ void glsl_symbol_table::add_global_function(ir_function *f) symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(f); int added = _mesa_symbol_table_add_global_symbol(table, -1, f->name, entry); assert(added == 0); + (void)added; } ir_variable *glsl_symbol_table::get_variable(const char *name) |