Commit daa2f97b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

widl: Write-strings warning fix.

parent 167f9f9a
......@@ -845,7 +845,7 @@ uniondef: tUNION t_ident '{' fields '}' { $$ = get_typev(RPC_FC_NON_ENCAPSULATE
m_ident '{' cases '}' { var_t *u = $7;
$$ = get_typev(RPC_FC_ENCAPSULATED_UNION, $2, tsUNION);
$$->kind = TKIND_UNION;
if (!u) u = make_var("tagged_union");
if (!u) u = make_var( xstrdup("tagged_union") );
u->type = make_type(RPC_FC_NON_ENCAPSULATED_UNION, NULL);
u->type->kind = TKIND_UNION;
u->type->fields = $9;
......
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