aboutsummaryrefslogtreecommitdiff
path: root/win32/mingw.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-07-15 11:45:53 +0100
committerRon Yorston <rmy@pobox.com>2015-07-15 11:53:50 +0100
commit70a4a723c507efc4e1bcfa4d4685da0821bff6dc (patch)
treea0ec583f0be1ed6f3fa46906d7b8d7ba2c8cadb2 /win32/mingw.c
parenta08314a5ac85a613ef1c8b1d14badae7e7324409 (diff)
downloadbusybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.tar.gz
busybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.tar.bz2
busybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.zip
win32: silence some compiler warnings
Diffstat (limited to 'win32/mingw.c')
-rw-r--r--win32/mingw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 824413586..6b63e2487 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -648,7 +648,8 @@ struct group *getgrgid(gid_t gid UNUSED_PARAM)
648 return &g; 648 return &g;
649} 649}
650 650
651int getgrouplist(const char *user, gid_t group, gid_t *groups, int *ngroups) 651int getgrouplist(const char *user UNUSED_PARAM, gid_t group UNUSED_PARAM,
652 gid_t *groups, int *ngroups)
652{ 653{
653 if ( *ngroups == 0 ) { 654 if ( *ngroups == 0 ) {
654 *ngroups = 1; 655 *ngroups = 1;