widl: Simplify make_safearray.

This commit is contained in:
Dan Hipschman 2007-05-09 20:48:13 -07:00 committed by Alexandre Julliard
parent e7495555a0
commit 541dddfde3
1 changed files with 1 additions and 6 deletions

View File

@ -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