diff options
author | 2007-09-08 18:42:36 +0000 | |
---|---|---|
committer | 2007-09-08 18:42:36 +0000 | |
commit | bc1d19a247a93184e87c38fa79d8e9cfc82ccac4 (patch) | |
tree | eebdf79c4bdcdf981c784709cdfd1a844b288506 | |
parent | more M_ZERO changes (diff) | |
download | wireguard-openbsd-bc1d19a247a93184e87c38fa79d8e9cfc82ccac4.tar.xz wireguard-openbsd-bc1d19a247a93184e87c38fa79d8e9cfc82ccac4.zip |
Fix lint warning about unreachable code.
OK deraadt@
-rw-r--r-- | usr.bin/passwd/passwd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c index fae31c3e260..85fa5cb0314 100644 --- a/usr.bin/passwd/passwd.c +++ b/usr.bin/passwd/passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: passwd.c,v 1.23 2006/01/22 06:04:28 biorn Exp $ */ +/* $OpenBSD: passwd.c,v 1.24 2007/09/08 18:42:36 cloder Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -37,7 +37,7 @@ char copyright[] = #ifndef lint /*static const char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ -static const char rcsid[] = "$OpenBSD: passwd.c,v 1.23 2006/01/22 06:04:28 biorn Exp $"; +static const char rcsid[] = "$OpenBSD: passwd.c,v 1.24 2007/09/08 18:42:36 cloder Exp $"; #endif /* not lint */ #include <stdio.h> @@ -164,8 +164,9 @@ main(int argc, char **argv) if (force_yp || ((status = local_passwd(username, 0)) && use_yp)) exit(yp_passwd(username)); exit(status); -#endif +#else exit(local_passwd(username, 0)); +#endif } void |