[Pkg-shadow-commits] r2838 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Tue Apr 28 20:10:18 UTC 2009


Author: nekral-guest
Date: 2009-04-28 20:10:18 +0000 (Tue, 28 Apr 2009)
New Revision: 2838

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/chgpasswd.c
Log:
	* src/chgpasswd.c, src/newusers.c: There is no need to test for 0
	after getopt_long. No options have flag != NULL.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-28 20:08:30 UTC (rev 2837)
+++ upstream/trunk/ChangeLog	2009-04-28 20:10:18 UTC (rev 2838)
@@ -1,7 +1,7 @@
 2009-04-28  Nicolas François  <nicolas.francois at 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 at centraliens.net>
 

Modified: upstream/trunk/src/chgpasswd.c
===================================================================
--- upstream/trunk/src/chgpasswd.c	2009-04-28 20:08:30 UTC (rev 2837)
+++ upstream/trunk/src/chgpasswd.c	2009-04-28 20:10:18 UTC (rev 2838)
@@ -188,9 +188,6 @@
 			}
 			break;
 #endif
-		case 0:
-			/* long option */
-			break;
 		default:
 			usage ();
 			break;




More information about the Pkg-shadow-commits mailing list