]> granicus.if.org Git - shadow/commitdiff
* lib/tcbfuncs.c: Removed dead return.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 18 Mar 2010 00:05:11 +0000 (00:05 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 18 Mar 2010 00:05:11 +0000 (00:05 +0000)
ChangeLog
lib/tcbfuncs.c

index 814c8caa91c3c0214162ea8f36ab3d6682df722a..680681fb57969e05e27b572528a1d628261ea55a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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@centraliens.net>
 
index fa2df2df6fce20bacf373b8d8b89d8e77793329a..55cb58de62d7a476e725b3ccbd8c8a38b58c0eb2 100644 (file)
@@ -486,7 +486,6 @@ shadowtcb_status shadowtcb_create(const char *name, uid_t uid)
        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) {