summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/copy.c b/copy.c
index ccb4289..2c85043 100644
--- a/copy.c
+++ b/copy.c
@@ -77,6 +77,7 @@ static void copy_val(Allocator *a, Value *out, Value in, Type *t) {
}
}
+#if 0
static void copy_val_full(Copier *c, Value *out, Value in, Type *t) {
if (type_is_builtin(t, BUILTIN_TYPE)) {
Type *new_type = allocr_malloc(c->allocr, sizeof *new_type);
@@ -86,6 +87,7 @@ static void copy_val_full(Copier *c, Value *out, Value in, Type *t) {
copy_val(c->allocr, out, in, t);
}
}
+#endif
static void copy_struct(Copier *c, StructDef *out, StructDef *in) {
*out = *in;