about summary refs log tree commit diff homepage
path: root/lib/Support/CompressionStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/CompressionStream.cpp')
-rw-r--r--lib/Support/CompressionStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/CompressionStream.cpp b/lib/Support/CompressionStream.cpp
index 94f0bd18..2e6df113 100644
--- a/lib/Support/CompressionStream.cpp
+++ b/lib/Support/CompressionStream.cpp
@@ -91,7 +91,7 @@ void compressed_fd_ostream::write_impl(const char *Ptr, size_t Size) {
   // Check if there is still data to compress
   while (strm.avail_in != 0) {
     // compress data
-    int res = deflate(&strm, Z_NO_FLUSH);
+    int res = deflate(&strm, Z_NO_FLUSH); (void) res;
     assert(res == Z_OK);
     writeFullCompressedData();
   }