Commit c6bb3174 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

minor simplification.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 929d7697
......@@ -1774,7 +1774,7 @@ namespace Common {
pt->get_typename().c_str());
return 0;
}
len = pt->get_sub_type()->get_length_restriction();
len = sub->get_length_restriction();
if (len == -1) {
ref->error("The type `%s' must have single size length restriction when used as a short-hand notation for nested indexes.",
pt->get_typename().c_str());
......
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