diff --git a/reactos/tools/widl/parser.tab.c b/reactos/tools/widl/parser.tab.c index cdb7eeb41a1..2dcd1ef2291 100644 --- a/reactos/tools/widl/parser.tab.c +++ b/reactos/tools/widl/parser.tab.c @@ -6510,6 +6510,7 @@ static void check_field_common(const type_t *container_type, default: /* should be no other container types */ assert(0); + return; } if (is_attr(arg->attrs, ATTR_LENGTHIS) && diff --git a/reactos/tools/widl/parser.y b/reactos/tools/widl/parser.y index 2af7742d172..71b7ed69142 100644 --- a/reactos/tools/widl/parser.y +++ b/reactos/tools/widl/parser.y @@ -2348,6 +2348,7 @@ static void check_field_common(const type_t *container_type, default: /* should be no other container types */ assert(0); + return; } if (is_attr(arg->attrs, ATTR_LENGTHIS) &&