aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/ZlibOutStream.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2020-05-19 19:49:41 +0200
committerPierre Ossman <ossman@cendio.se>2020-05-21 11:34:22 +0200
commitcf40b83e2330607bab221c33b8f7b5b1885eedb3 (patch)
treef2b8c66736f1f808def3272cce0a30ff843a36e1 /common/rdr/ZlibOutStream.cxx
parent0cd533cf7f53daa157a9b7f6af2b9b72eeca5403 (diff)
downloadtigervnc-cf40b83e2330607bab221c33b8f7b5b1885eedb3.tar.gz
tigervnc-cf40b83e2330607bab221c33b8f7b5b1885eedb3.zip
Remove unused bufSize argument from streams
Diffstat (limited to 'common/rdr/ZlibOutStream.cxx')
-rw-r--r--common/rdr/ZlibOutStream.cxx4
1 files changed, 2 insertions, 2 deletions
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;