From cf40b83e2330607bab221c33b8f7b5b1885eedb3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 19 May 2020 19:49:41 +0200 Subject: Remove unused bufSize argument from streams --- common/rdr/ZlibOutStream.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/rdr/ZlibOutStream.cxx') diff --git a/common/rdr/ZlibOutStream.cxx b/common/rdr/ZlibOutStream.cxx index 78abfc49..8f7170da 100644 --- a/common/rdr/ZlibOutStream.cxx +++ b/common/rdr/ZlibOutStream.cxx @@ -33,9 +33,9 @@ using namespace rdr; enum { DEFAULT_BUF_SIZE = 16384 }; -ZlibOutStream::ZlibOutStream(OutStream* os, size_t bufSize_, int compressLevel) +ZlibOutStream::ZlibOutStream(OutStream* os, int compressLevel) : underlying(os), compressionLevel(compressLevel), newLevel(compressLevel), - bufSize(bufSize_ ? bufSize_ : DEFAULT_BUF_SIZE), offset(0) + bufSize(DEFAULT_BUF_SIZE), offset(0) { zs = new z_stream; zs->zalloc = Z_NULL; -- cgit v1.2.3