Commit 541dddfd authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Simplify make_safearray.

parent e7495555
......@@ -1279,13 +1279,8 @@ static type_t *make_class(char *name)
static type_t *make_safearray(type_t *type)
{
type_t *sa = duptype(find_type("SAFEARRAY", 0), 1);
type_t *ptr;
sa->ref = type;
ptr = make_type(RPC_FC_FP, sa);
ptr->name = xstrdup("SAFEARRAY");
return ptr;
return make_type(RPC_FC_FP, sa);
}
#define HASHMAX 64
......
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