summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/copy.c b/copy.c
index d03782c..9ff5128 100644
--- a/copy.c
+++ b/copy.c
@@ -226,10 +226,6 @@ static void copy_fn_expr(Copier *c, FnExpr *fout, FnExpr *fin, U8 flags) {
copy_decl(c, fout->ret_decls + i, fin->ret_decls + i);
}
copy_type(c, &fout->ret_type, &fin->ret_type);
-
- if (fin->condition) {
- fout->condition = copy_expr_(c, fin->condition);
- }
}
c->block = prev;
if (copy_body) {