summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/copy.c b/copy.c
index 2c85043..3f352c2 100644
--- a/copy.c
+++ b/copy.c
@@ -430,8 +430,6 @@ static void copy_block(Copier *c, Block *out, Block *in, U8 flags) {
out->stmts = NULL;
Block *prev = c->block;
c->block = out;
- if (in->ret_expr)
- out->ret_expr = copy_expr_(c, in->ret_expr);
if (!(flags & COPY_BLOCK_DONT_CREATE_IDENTS))
idents_create(&out->idents, c->allocr, out);
arr_set_lena(out->stmts, nstmts, c->allocr);