From: nekral-guest Date: Tue, 28 Apr 2009 20:10:18 +0000 (+0000) Subject: * src/chgpasswd.c, src/newusers.c: There is no need to test for 0 X-Git-Tag: 4.1.4~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8b8aaf5e4e167fdd40434cab9e27649591e2962;p=shadow * src/chgpasswd.c, src/newusers.c: There is no need to test for 0 after getopt_long. No options have flag != NULL. --- diff --git a/ChangeLog b/ChangeLog index c9cc98de..3f4c1d19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2009-04-28 Nicolas François - * src/newusers.c: There is no need to test for 0 after - getopt_long. No options have flag != NULL. + * src/chgpasswd.c, src/newusers.c: There is no need to test for 0 + after getopt_long. No options have flag != NULL. 2009-04-28 Nicolas François diff --git a/src/chgpasswd.c b/src/chgpasswd.c index 81f42548..945d3130 100644 --- a/src/chgpasswd.c +++ b/src/chgpasswd.c @@ -188,9 +188,6 @@ static void process_flags (int argc, char **argv) } break; #endif - case 0: - /* long option */ - break; default: usage (); break;