Quiet unused arg warning for ir_constant cloning.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jun 2010 23:43:08 +0000 (16:43 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Jun 2010 20:32:35 +0000 (13:32 -0700)
ir_clone.cpp

index fe66510bfdf1ff3b6f028d5cf98b09f3636d5ffe..6db5073f75f51ba4e3f87a15ad9aebfa1d326ac6 100644 (file)
@@ -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: