From db8bda4b47d98bc40c8f582a96d72ebad6141629 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 22 Oct 2016 21:20:28 +0200 Subject: [PATCH] Remove unreachable code from passwd(1) Fixed Coverity CID 66966 Signed-off-by: Corinna Vinschen --- winsup/utils/passwd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/winsup/utils/passwd.c b/winsup/utils/passwd.c index 70778b88d..8d9183875 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;