* lib/getgroups.c (rpl_getgroups): Delete shadowed variable.
Signed-off-by: Eric Blake <ebb9@byu.net>
2009-11-13 Eric Blake <ebb9@byu.net>
+ getgroups: avoid compiler warning
+ * lib/getgroups.c (rpl_getgroups): Delete shadowed variable.
+
getgroups: work around FreeBSD bug
* lib/getgroups.c (rpl_getgroups): Work around the bug.
* m4/getgroups.m4 (gl_FUNC_GETGROUPS): Detect the bug.
if (n != 0 || !GETGROUPS_ZERO_BUG)
{
int result;
- int saved_errno;
if (sizeof *group == sizeof *gbuf)
return getgroups (n, (GETGROUPS_T *) group);