diff options
author | José Fonseca <[email protected]> | 2010-08-30 13:53:15 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-30 13:53:15 +0100 |
commit | ccd8b935e484d267ea864b5e8c65f826d015f708 (patch) | |
tree | 50f857eb19275eb3a9c7a875bcab11779f443757 /src/glsl | |
parent | 128237927d6fa4ffb23e52c59150f57520004c00 (diff) |
glsl: Silence unused variable warning.
Diffstat (limited to 'src/glsl')
-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 11e16713351..ed71244cbf8 100644 --- 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; |