* lib/tcbfuncs.c: Removed dead return.

This commit is contained in:
nekral-guest 2010-03-18 00:05:11 +00:00
parent 9f4653b0df
commit 7195eb991d
2 changed files with 1 additions and 1 deletions

View File

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

View 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) {