widl: add_interface_typeinfo should not return a value.

This commit is contained in:
Austin English 2012-12-19 15:03:10 -06:00 committed by Alexandre Julliard
parent 554a2ccb11
commit ecfb6539f6
1 changed files with 4 additions and 2 deletions

View File

@ -2026,8 +2026,10 @@ static void add_interface_typeinfo(msft_typelib_t *typelib, type_t *interface)
return;
}
if (is_attr(interface->attrs, ATTR_DISPINTERFACE))
return add_dispinterface_typeinfo(typelib, interface);
if (is_attr(interface->attrs, ATTR_DISPINTERFACE)) {
add_dispinterface_typeinfo(typelib, interface);
return;
}
/* midl adds the parent interface first, unless the parent itself
has no parent (i.e. it stops before IUnknown). */