]> granicus.if.org Git - shadow/commitdiff
* src/chgpasswd.c, src/newusers.c: There is no need to test for 0
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 20:10:18 +0000 (20:10 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 20:10:18 +0000 (20:10 +0000)
after getopt_long. No options have flag != NULL.

ChangeLog
src/chgpasswd.c

index c9cc98de6c5b50e650fc763091887125ea96daf9..3f4c1d192181be19b3eb9ede81c63ea91310c460 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
-       * 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  <nicolas.francois@centraliens.net>
 
index 81f4254824c18c2a3115a63e60eaabbc5d64aec9..945d3130538e4c1806e820a3b9fdbeec6fb87c82 100644 (file)
@@ -188,9 +188,6 @@ static void process_flags (int argc, char **argv)
                        }
                        break;
 #endif
-               case 0:
-                       /* long option */
-                       break;
                default:
                        usage ();
                        break;