diff options
author | Eric Anholt <[email protected]> | 2010-06-23 16:43:08 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-06-24 13:32:35 -0700 |
commit | 9ca0a022e6fcd46a6ce06b8d08dd4c046ec215c4 (patch) | |
tree | d95b7a5663ebd5a484c3f3fd690a2e65696298e2 | |
parent | 5f384088336c23c4fe332d2735450bf455c88200 (diff) |
Quiet unused arg warning for ir_constant cloning.
-rw-r--r-- | ir_clone.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_clone.cpp b/ir_clone.cpp index fe66510bfdf..6db5073f75f 100644 --- a/ir_clone.cpp +++ b/ir_clone.cpp @@ -242,6 +242,8 @@ ir_function_signature::clone(struct hash_table *ht) const ir_instruction * ir_constant::clone(struct hash_table *ht) const { + (void)ht; + switch (this->type->base_type) { case GLSL_TYPE_UINT: case GLSL_TYPE_INT: |