From: Nathan Moinvaziri Date: Thu, 30 Dec 2021 04:45:12 +0000 (-0800) Subject: Fixed main function does not return value which may indicated unintended behavior. X-Git-Tag: 2.1.0-beta1~462 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5655bcb64b50d991bc15466d6b30a17ea14440a;p=thirdparty%2Fzlib-ng.git Fixed main function does not return value which may indicated unintended behavior. --- diff --git a/test/deflate_quick_bi_valid.c b/test/deflate_quick_bi_valid.c index 9366bf487..0a60081f4 100644 --- a/test/deflate_quick_bi_valid.c +++ b/test/deflate_quick_bi_valid.c @@ -82,4 +82,5 @@ int main() { fprintf(stderr, "deflateEnd() failed with code %d\n", ret); return EXIT_FAILURE; } + return 0; } diff --git a/test/deflate_quick_block_open.c b/test/deflate_quick_block_open.c index 9526533d0..9df921200 100644 --- a/test/deflate_quick_block_open.c +++ b/test/deflate_quick_block_open.c @@ -107,4 +107,5 @@ int main() { fprintf(stderr, "Uncompressed data differs from the original\n"); return EXIT_FAILURE; } + return 0; }