From: Eric Anholt Date: Wed, 23 Jun 2010 23:43:08 +0000 (-0700) Subject: Quiet unused arg warning for ir_constant cloning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ca0a022e6fcd46a6ce06b8d08dd4c046ec215c4;p=mesa.git Quiet unused arg warning for ir_constant cloning. --- 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: