diff options
author | Vinson Lee <[email protected]> | 2010-08-21 16:21:41 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-08-21 16:22:18 -0700 |
commit | 13b3d4c23d9d088a5a2b3bd657f1f163e42e4d8b (patch) | |
tree | 632f4a4865b1ac12c998ccab93c1ee2f8f1f2c8e /src/glsl/ast_to_hir.cpp | |
parent | be99100ee78d7b97f616a375e47eb7d436fa4416 (diff) |
glsl: Silence unused variable warning.
The variable is actually used but only in the body of an assert.
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |