OSDN Git Service
(root)
/
android-x86
/
external-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
11e1671
..
ed71244
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;