[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkg-shadow-commits
Subject:    [Pkg-shadow-commits] r2837 - in upstream/trunk: . src
From:       Nicolas_FRANÇOIS <nekral-guest () alioth ! debian ! org>
Date:       2009-04-28 20:08:30
Message-ID: E1LytbS-0002Aq-OZ () alioth ! debian ! org
[Download RAW message or body]

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@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@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@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;



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic