[Pkg-shadow-commits] r3135 - in upstream/trunk: . lib

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Mar 18 00:05:15 UTC 2010


Author: nekral-guest
Date: 2010-03-18 00:05:11 +0000 (Thu, 18 Mar 2010)
New Revision: 3135

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/tcbfuncs.c
Log:
	* lib/tcbfuncs.c: Removed dead return.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-03-18 00:04:54 UTC (rev 3134)
+++ upstream/trunk/ChangeLog	2010-03-18 00:05:11 UTC (rev 3135)
@@ -17,6 +17,7 @@
 	* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
 	* lib/tcbfuncs.c: Avoid integer to char conversions.
 	* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
+	* lib/tcbfuncs.c: Removed dead return.
 
 2010-03-17  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/lib/tcbfuncs.c
===================================================================
--- upstream/trunk/lib/tcbfuncs.c	2010-03-18 00:04:54 UTC (rev 3134)
+++ upstream/trunk/lib/tcbfuncs.c	2010-03-18 00:05:11 UTC (rev 3135)
@@ -486,7 +486,6 @@
 	if (mkdir(dir, 0700) != 0) {
 		fprintf(stderr, _("%s: mkdir: %s: %s\n"), Prog, dir, strerror(errno));
 		goto out_free;
-		return 0;
 	}
 	fd = open(shadow, O_RDWR | O_CREAT | O_TRUNC, 0600);
 	if (fd < 0) {




More information about the Pkg-shadow-commits mailing list