diff options
Diffstat (limited to 'ir_constant_expression.cpp')
-rw-r--r-- | ir_constant_expression.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_constant_expression.cpp b/ir_constant_expression.cpp index 076fdfda75..b1092de139 100644 --- a/ir_constant_expression.cpp +++ b/ir_constant_expression.cpp @@ -427,6 +427,7 @@ ir_constant_visitor::visit(ir_dereference_variable *ir) void ir_constant_visitor::visit(ir_dereference_array *ir) { + (void) ir; value = NULL; /* FINISHME: Other dereference modes. */ } @@ -435,6 +436,7 @@ ir_constant_visitor::visit(ir_dereference_array *ir) void ir_constant_visitor::visit(ir_dereference_record *ir) { + (void) ir; value = NULL; /* FINISHME: Other dereference modes. */ } |