[newlib-cygwin] Cygwin: drop unused parameter from get_user_local_groups
Corinna Vinschen
corinna@sourceware.org
Fri Feb 22 22:34:00 GMT 2019
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=82c2cf6abcb9050886f9a14e5b2b0ca8fee2fc16
commit 82c2cf6abcb9050886f9a14e5b2b0ca8fee2fc16
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Feb 22 13:36:13 2019 +0100
Cygwin: drop unused parameter from get_user_local_groups
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
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 4bbcb0e..3a08671 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;
}
More information about the Cygwin-cvs
mailing list