commit de4a36957e17df8b291e0fd1e2d59f9ce6b3172f
Author: sin <[email protected]>
Date:   Mon Nov 17 10:51:36 2014 +0000

    Silence stupid warnings when building sbase-box

diff --git a/chroot.c b/chroot.c
index 07c4e31..db42616 100644
--- 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
index f379046..967ad38 100644
--- 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;
 }


Reply via email to