[PATCH 20/34] chfn: assigned value is never read [clang-analyzer]

Sami Kerola
2013-07-07T19:55:57Z

login-utils/chfn.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/login-utils/chfn.c b/login-utils/chfn.c
index 95e8d9d..5aa491d 100644
--- a/login-utils/chfn.c
+++ b/login-utils/chfn.c
@@ -227,7 +227,6 @@ static int parse_argv(int argc, char *argv[], struct finfo *pinfo)
usage(stderr);
/* ok, we were given an argument */
info_given = true;
- status = 0;

/* now store the argument */
switch (c) {
--
1.8.3.2