Silence stupid warnings when building sbase-box

This commit is contained in:
sin 2014-11-17 10:51:36 +00:00
parent 4a97e0b526
commit de4a36957e
2 changed files with 4 additions and 0 deletions

View File

@ -45,4 +45,6 @@ main(int argc, char *argv[])
savederrno = errno;
weprintf("execvp %s:", p);
_exit(savederrno == ENOENT ? 127 : 126);
/* unreachable */
return 0;
}

View File

@ -48,4 +48,6 @@ main(int argc, char *argv[])
execvp(argv[0], &argv[0]);
enprintf(errno == ENOENT ? Error : Found, "exec %s:", argv[0]);
_exit(Error);
/* unreachable */
return 0;
}