From: Wayne Davison Date: Fri, 4 Jul 2003 15:11:46 +0000 (+0000) Subject: Use "return" at the end of main() to silence some compilers. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/0f5a04e3ffe2e959e8eab4d65ab99cd1ec1f4aef Use "return" at the end of main() to silence some compilers. --- diff --git a/main.c b/main.c index 79929d65..629eb35b 100644 --- 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; }