diff --git a/ChangeLog b/ChangeLog index 4f51ed07..c9cc98de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ +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. + 2009-04-28 Nicolas François * lib/prototypes.h: Replace #if by #ifdef - * lib/prototypes.h, libmisc/non_interactive_pam_conv.c: Added + * libmisc/Makefile.am, lib/prototypes.h, + libmisc/non_interactive_pam_conv.c: Added non_interactive_pam_conv() and non_interactive_password. 2009-04-28 Nicolas François diff --git a/src/newusers.c b/src/newusers.c index b9e8fe5a..c6290ece 100644 --- a/src/newusers.c +++ b/src/newusers.c @@ -518,9 +518,6 @@ static void process_flags (int argc, char **argv) } break; #endif - case 0: - /* long option */ - break; default: usage (); break;