commit de4a36957e17df8b291e0fd1e2d59f9ce6b3172f
parent 4a97e0b52672eef85e50696160e2f50237016e71
Author: sin <sin@2f30.org>
Date: Mon, 17 Nov 2014 10:51:36 +0000
Silence stupid warnings when building sbase-box
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/chroot.c b/chroot.c
@@ -45,4 +45,6 @@ main(int argc, char *argv[])
savederrno = errno;
weprintf("execvp %s:", p);
_exit(savederrno == ENOENT ? 127 : 126);
+ /* unreachable */
+ return 0;
}
diff --git a/nohup.c b/nohup.c
@@ -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;
}