From 1527c8a33b05d26fd21d6bac946ff453d225b381 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 3 Oct 2017 19:58:16 +0100 Subject: Silenced some warnings about unused variables when assertions are disabled. --- lib/Support/CompressionStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/CompressionStream.cpp') 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(); } -- cgit 1.4.1