From 82c2cf6abcb9050886f9a14e5b2b0ca8fee2fc16 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 22 Feb 2019 13:36:13 +0100 Subject: [PATCH] Cygwin: drop unused parameter from get_user_local_groups Signed-off-by: Corinna Vinschen --- winsup/cygwin/sec_auth.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc index 4bbcb0e28..3a08671a5 100644 --- a/winsup/cygwin/sec_auth.cc +++ b/winsup/cygwin/sec_auth.cc @@ -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; }