]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chfn: assigned value is never read [clang-analyzer]
authorSami Kerola <kerolasa@iki.fi>
Sun, 7 Jul 2013 19:54:35 +0000 (20:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Jul 2013 12:25:11 +0000 (14:25 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/chfn.c

index 95e8d9d59656ee4f47d3d62ee494d5980e950271..5aa491d32d5db9f8f05138c9323c252b74dd1c40 100644 (file)
@@ -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) {