Use "return" at the end of main() to silence some compilers.
authorWayne Davison <wayned@samba.org>
Fri, 4 Jul 2003 15:11:46 +0000 (15:11 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 4 Jul 2003 15:11:46 +0000 (15:11 +0000)
main.c

diff --git a/main.c b/main.c
index 79929d6..629eb35 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1056,6 +1056,5 @@ int main(int argc,char *argv[])
        else
                exit_cleanup(ret);
 
-       exit(ret);
-       /* NOTREACHED */
+       return ret;
 }