]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Explicitly ignore a return value in gzwrite.c.
authorMark Adler <madler@alumni.caltech.edu>
Tue, 22 Nov 2016 20:02:29 +0000 (12:02 -0800)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Thu, 2 Feb 2017 10:45:55 +0000 (11:45 +0100)
gzwrite.c

index 6f632f173d86cc17d6bc5f459e6a0802e7f0b26c..88d716726bacc01626c32591329798a29eb9cda1 100644 (file)
--- a/gzwrite.c
+++ b/gzwrite.c
@@ -374,7 +374,7 @@ int ZEXPORT gzflush(gzFile file, int flush) {
     }
 
     /* compress remaining data with requested flush */
-    gz_comp(state, flush);
+    (void)gz_comp(state, flush);
     return state->err;
 }