summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-23 16:43:08 -0700
committerEric Anholt <eric@anholt.net>2010-06-24 13:32:35 -0700
commit9ca0a022e6fcd46a6ce06b8d08dd4c046ec215c4 (patch)
treed95b7a5663ebd5a484c3f3fd690a2e65696298e2
parent5f384088336c23c4fe332d2735450bf455c88200 (diff)
Quiet unused arg warning for ir_constant cloning.
-rw-r--r--ir_clone.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_clone.cpp b/ir_clone.cpp
index fe66510..6db5073 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: