From 13b3d4c23d9d088a5a2b3bd657f1f163e42e4d8b Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 21 Aug 2010 16:21:41 -0700 Subject: glsl: Silence unused variable warning. The variable is actually used but only in the body of an assert. --- src/glsl/ast_to_hir.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 397c84e3438..b60bb2f0a0a 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1973,6 +1973,7 @@ ast_declarator_list::hir(exec_list *instructions, const bool added_variable = state->symbols->add_variable(var->name, var); assert(added_variable); + (void) added_variable; } -- cgit v1.2.3