Commit 17a2b811 authored by Matthias Braun's avatar Matthias Braun
Browse files

do not use custom copy without custom attributes

parent 9fa60c34
......@@ -669,7 +669,11 @@ EOF
}
my $copy_attr_func = $copy_attr{$attr_type};
if (!defined($copy_attr_func)) {
$copy_attr_func = $default_copy_attr;
if ($attr_type eq "") {
$copy_attr_func = "NULL";
} else {
$copy_attr_func = $default_copy_attr;
}
}
if (defined($copy_attr_func)) {
push(@obst_new_irop, "\tops.copy_attr = ${copy_attr_func};\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment