commit | 13b3d4c23d9d088a5a2b3bd657f1f163e42e4d8b | [log] [tgz] |
---|---|---|
author | Vinson Lee <vlee@vmware.com> | Sat Aug 21 16:21:41 2010 -0700 |
committer | Vinson Lee <vlee@vmware.com> | Sat Aug 21 16:22:18 2010 -0700 |
tree | 632f4a4865b1ac12c998ccab93c1ee2f8f1f2c8e | |
parent | be99100ee78d7b97f616a375e47eb7d436fa4416 [diff] [blame] |
glsl: Silence unused variable warning. The variable is actually used but only in the body of an assert.
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 397c84e..b60bb2f 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp
@@ -1973,6 +1973,7 @@ const bool added_variable = state->symbols->add_variable(var->name, var); assert(added_variable); + (void) added_variable; }