diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-15 09:32:02 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-15 09:32:02 +0000 |
commit | 5839b84db8fa4a49976868786c93b29df9c4d568 (patch) | |
tree | ef3d545e61baa18f319312ada4e97e2c799c24c6 /lib/libc/gen/getpwent.c | |
parent | 1d3f47d20a2b64c481a047ce24f39564b3e74533 (diff) |
Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r-- | lib/libc/gen/getpwent.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 4c4ca6b763c..dc7d07cc809 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -33,7 +33,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getpwent.c,v 1.3 1996/08/19 08:24:02 tholo Exp $"; +static char rcsid[] = "$OpenBSD: getpwent.c,v 1.4 1996/09/15 09:31:02 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -258,7 +258,6 @@ getpwent() DBT key; char bf[sizeof(_pw_keynum) + 1]; #ifdef YP - char *cp; static char *name = (char *)NULL; const char *user, *host, *dom; int has_yppw; @@ -594,8 +593,6 @@ pwnam_netgrp: break; } break; - - continue; } if(strcmp(_pw_passwd.pw_name, name) == 0) { if (!_pw_stayopen) { @@ -781,8 +778,6 @@ pwuid_netgrp: break; } break; - - continue; } if( _pw_passwd.pw_uid == uid) { if (!_pw_stayopen) { |