diff options
author | Vinson Lee <[email protected]> | 2010-08-23 22:27:49 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-08-23 22:27:49 -0700 |
commit | e5df3cc286fa2607897944d478081014929b38ec (patch) | |
tree | a9355a4942fc2db62efc4cc8878c154c215c6533 | |
parent | b48f20dab8a93fe187f6e6d9d7544f07ed8148db (diff) |
glsl: Silence unused variable warning.
The variable is used but only in the body of an assert.
-rw-r--r-- | src/glsl/glsl_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index 1da2fd76dee..2e5c2ecf048 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_types.cpp @@ -243,6 +243,7 @@ glsl_type::generate_constructor(glsl_symbol_table *symtab) const bool added = symtab->add_function(name, f); assert(added); + (void) added; ir_function_signature *const sig = new(ctx) ir_function_signature(this); f->add_signature(sig); |