summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ir_clone.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_clone.cpp b/ir_clone.cpp
index fe66510bfd..6db5073f75 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: