From 7195eb991d38de4659fcad08c72fff1eda7889dc Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Thu, 18 Mar 2010 00:05:11 +0000 Subject: [PATCH] * lib/tcbfuncs.c: Removed dead return. --- ChangeLog | 1 + lib/tcbfuncs.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 814c8caa..680681fb 100644 --- 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 diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index fa2df2df..55cb58de 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -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) {