From: José Fonseca Date: Mon, 30 Aug 2010 12:53:15 +0000 (+0100) Subject: glsl: Silence unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ccd8b935e484d267ea864b5e8c65f826d015f708;p=mesa.git glsl: Silence unused variable warning. --- 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;