https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=db8bda4b47d98bc40c8f582a96d72ebad6141629
commit db8bda4b47d98bc40c8f582a96d72ebad6141629 Author: Corinna Vinschen <[email protected]> Date: Sat Oct 22 21:20:28 2016 +0200 Remove unreachable code from passwd(1) Fixed Coverity CID 66966 Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/utils/passwd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/winsup/utils/passwd.c b/winsup/utils/passwd.c index 70778b8..8d91838 100644 --- a/winsup/utils/passwd.c +++ b/winsup/utils/passwd.c @@ -88,9 +88,6 @@ EvalRet (int ret, const char *user) eprint (0, "You may not change the password for %s.", user); break; - eprint (0, "Bad password: Invalid."); - break; - case NERR_PasswordTooShort: eprint (0, "Bad password: Too short."); break;
