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

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


Author: nekral-guest
Date: 2009-04-28 20:08:30 +0000 (Tue, 28 Apr 2009)
New Revision: 2837

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/newusers.c
Log:
	* 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:07:24 UTC (rev 2836)
+++ upstream/trunk/ChangeLog	2009-04-28 20:08:30 UTC (rev 2837)
@@ -1,7 +1,13 @@
 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.
+
+2009-04-28  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* 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  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/src/newusers.c
===================================================================
--- upstream/trunk/src/newusers.c	2009-04-28 20:07:24 UTC (rev 2836)
+++ upstream/trunk/src/newusers.c	2009-04-28 20:08:30 UTC (rev 2837)
@@ -518,9 +518,6 @@
 			}
 			break;
 #endif
-		case 0:
-			/* long option */
-			break;
 		default:
 			usage ();
 			break;




More information about the Pkg-shadow-commits mailing list