Commit c6e7609b authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Don't add NULL pointer checks in generated code for user types.

parent cdf88e9c
......@@ -161,6 +161,9 @@ int cant_be_null(const var_t *v)
if (is_aliaschain_attr(type, ATTR_CONTEXTHANDLE))
return 0;
if (is_user_type(type))
return 0;
if (! attrs && type)
{
attrs = type->attrs;
......
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