projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc5820
)
glsl2: Silence unused added variable gcc warning.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 16 Mar 2011 09:16:01 +0000
(09:16 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 16 Mar 2011 09:16:01 +0000
(09:16 +0000)
src/glsl/glsl_symbol_table.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_symbol_table.cpp
b/src/glsl/glsl_symbol_table.cpp
index 2f291d4f97fe95e8a9c33b1aa085a611e8bbf695..bcb65d30182a131563700b6d96cc2ab7dc94ef49 100644
(file)
--- 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)