summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/copy.c b/copy.c
index 0a034f6..02c23e4 100644
--- a/copy.c
+++ b/copy.c
@@ -265,9 +265,6 @@ static void copy_expr(Copier *c, Expression *out, Expression *in) {
if (sin->to)
sout->to = copy_expr_(c, sin->to);
} break;
- case EXPR_PKG:
- out->pkg.name_expr = copy_expr_(c, in->pkg.name_expr);
- break;
case EXPR_TYPE:
copy_type(c, &out->typeval, &in->typeval);
break;