commit 11848fcb5fcb34b778dc19a8c7c2defd8da48f70 (tree)
parent 261c94629e9cb4fb43541d0930fec873e488d66e
Author: Alexandros Naskos <alex_naskos@hotmail.com>
Date: Fri, 28 Feb 2020 03:48:30 +0200
Removed unused variable
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/ir.cpp b/src/ir.cpp
@@ -16961,8 +16961,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,
new_type->data.structure.special = StructSpecialInferredTuple;
new_type->data.structure.resolve_status = ResolveStatusBeingInferred;
- bool is_comptime = ir_should_inline(ira->old_irb.exec, source_instr->scope);
-
IrInstGen *new_struct_ptr = ir_resolve_result(ira, source_instr, no_result_loc(),
new_type, nullptr, false, true);
uint32_t new_field_count = op1_field_count + op2_field_count;