Cygwin: drop unused parameter from get_user_local_groups

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2019-02-22 13:36:13 +01:00
parent 18c203fb6e
commit 82c2cf6abc
1 changed files with 2 additions and 3 deletions

View File

@ -393,8 +393,7 @@ get_user_groups (WCHAR *logonserver, cygsidlist &grp_list,
}
static bool
get_user_local_groups (PWCHAR logonserver, PWCHAR domain,
cygsidlist &grp_list, PWCHAR user)
get_user_local_groups (PWCHAR domain, cygsidlist &grp_list, PWCHAR user)
{
LPLOCALGROUP_INFO_0 buf;
DWORD cnt, tot;
@ -582,7 +581,7 @@ get_server_groups (cygsidlist &grp_list, PSID usersid,
}
}
get_user_groups (server, grp_list, user, domain);
get_user_local_groups (server, domain, grp_list, user);
get_user_local_groups (domain, grp_list, user);
}
return true;
}