Commit aa119a1e authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

widl: Always check the runtimeclass interfaces presence.

parent d9d478e2
...@@ -387,8 +387,7 @@ static inline type_t *type_runtimeclass_get_default_iface(const type_t *type, in ...@@ -387,8 +387,7 @@ static inline type_t *type_runtimeclass_get_default_iface(const type_t *type, in
typeref_list_t *ifaces = type_runtimeclass_get_ifaces(type); typeref_list_t *ifaces = type_runtimeclass_get_ifaces(type);
typeref_t *ref; typeref_t *ref;
if (!ifaces) return NULL; if (ifaces) LIST_FOR_EACH_ENTRY(ref, ifaces, typeref_t, entry)
LIST_FOR_EACH_ENTRY(ref, ifaces, typeref_t, entry)
if (is_attr(ref->attrs, ATTR_DEFAULT)) if (is_attr(ref->attrs, ATTR_DEFAULT))
return ref->type; return ref->type;
......
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