From 9ca0a022e6fcd46a6ce06b8d08dd4c046ec215c4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 23 Jun 2010 16:43:08 -0700 Subject: [PATCH] Quiet unused arg warning for ir_constant cloning. --- ir_clone.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2