aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAlexandros Naskos <alex_naskos@hotmail.com>2020-02-28 03:48:30 +0200
committerAlexandros Naskos <alex_naskos@hotmail.com>2020-02-28 03:48:30 +0200
commit11848fcb5fcb34b778dc19a8c7c2defd8da48f70 (patch)
treeddd1f98086562b162c179c5abda39c0b3a4f7542 /src/ir.cpp
parent261c94629e9cb4fb43541d0930fec873e488d66e (diff)
downloadzig-11848fcb5fcb34b778dc19a8c7c2defd8da48f70.tar.gz
zig-11848fcb5fcb34b778dc19a8c7c2defd8da48f70.zip
Removed unused variable
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index de81a87657..f0185608a7 100644
--- 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;