From ccd8b935e484d267ea864b5e8c65f826d015f708 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 30 Aug 2010 13:53:15 +0100 Subject: [PATCH] glsl: Silence unused variable warning. --- src/glsl/glsl_symbol_table.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2