projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1282379
)
glsl: Silence unused variable warning.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 30 Aug 2010 12:53:15 +0000
(13:53 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 30 Aug 2010 12:53:15 +0000
(13:53 +0100)
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 11e16713351e50378aae8ab78f148d4b62623074..ed71244cbf84a679cdcfb0f6e71e6bcb7148d9f4 100644
(file)
--- a/
src/glsl/glsl_symbol_table.cpp
+++ b/
src/glsl/glsl_symbol_table.cpp
@@
-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;