]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed main function does not return value which may indicated unintended behavior.
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 30 Dec 2021 04:45:12 +0000 (20:45 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 7 Jan 2022 23:08:02 +0000 (00:08 +0100)
test/deflate_quick_bi_valid.c
test/deflate_quick_block_open.c

index 9366bf4877209ad5928784b1912342700b5c0f77..0a60081f4e8016da376f19b7808abccca1378b4c 100644 (file)
@@ -82,4 +82,5 @@ int main() {
         fprintf(stderr, "deflateEnd() failed with code %d\n", ret);
         return EXIT_FAILURE;
     }
+    return 0;
 }
index 9526533d0b3abb9f2cabe93b96e23d9d3b674a59..9df9212000956cb444ef6049578875cc3f84ea0c 100644 (file)
@@ -107,4 +107,5 @@ int main() {
         fprintf(stderr, "Uncompressed data differs from the original\n");
         return EXIT_FAILURE;
     }
+    return 0;
 }