summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-03-10 00:58:21 +0000
committerstefanf <stefanf@FreeBSD.org>2005-03-10 00:58:21 +0000
commitc463ca74d4c8b30190d9eabc0457cf12ed194032 (patch)
treeda3797bfc0e4b152a664a4a985fb15b4049cd0b6
parent624654db85d8dcfec20ad8c4555a9081920e6622 (diff)
downloadFreeBSD-src-c463ca74d4c8b30190d9eabc0457cf12ed194032.zip
FreeBSD-src-c463ca74d4c8b30190d9eabc0457cf12ed194032.tar.gz
Remove an superfluous assignment.
Approved by: alfred
-rw-r--r--lib/libc/rpc/netnamer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/rpc/netnamer.c b/lib/libc/rpc/netnamer.c
index 1829a45..7e567df 100644
--- a/lib/libc/rpc/netnamer.c
+++ b/lib/libc/rpc/netnamer.c
@@ -104,7 +104,6 @@ netname2user(netname, uidp, gidp, gidlenp, gidlist)
return (0);
}
*gidp = (gid_t) atol(p);
- gidlen = 0;
for (gidlen = 0; gidlen < NGROUPS; gidlen++) {
p = strsep(&res, "\n,");
if (p == NULL)
OpenPOWER on IntegriCloud