summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-11-13 13:31:35 -0700
committerEric Blake <ebb9@byu.net>2009-11-13 13:31:35 -0700
commitcf0c4abc71ea50e9b9dc511bde1e4f1c1face4d4 (patch)
tree2efa62d4799f75ffc299a5d6efeaaa0d59f7e1b8 /lib
parent1e642be936b3a09f6200d753f035ce045d9c5dac (diff)
downloadgnulib-cf0c4abc71ea50e9b9dc511bde1e4f1c1face4d4.tar.gz
getgroups: avoid compiler warning
* lib/getgroups.c (rpl_getgroups): Delete shadowed variable. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/getgroups.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/getgroups.c b/lib/getgroups.c
index c07f2de238..e2bb68eff2 100644
--- a/lib/getgroups.c
+++ b/lib/getgroups.c
@@ -67,7 +67,6 @@ rpl_getgroups (int n, gid_t *group)
if (n != 0 || !GETGROUPS_ZERO_BUG)
{
int result;
- int saved_errno;
if (sizeof *group == sizeof *gbuf)
return getgroups (n, (GETGROUPS_T *) group);