From f8b8aaf5e4e167fdd40434cab9e27649591e2962 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 28 Apr 2009 20:10:18 +0000 Subject: [PATCH] * src/chgpasswd.c, src/newusers.c: There is no need to test for 0 after getopt_long. No options have flag != NULL. --- ChangeLog | 4 ++-- src/chgpasswd.c | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) 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;