Silence clang's complaints about unused private members
authorMikko Rasa <tdb@tdb.fi>
Mon, 6 Oct 2014 22:30:39 +0000 (01:30 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 6 Oct 2014 22:30:39 +0000 (01:30 +0300)
source/io/zlibcompressed.cpp

index a5588534cc140ab1608dd31171854144917ebcc5..ffb08c5b80a2212d03d1b6d4f152dfa0a2733406 100644 (file)
@@ -89,6 +89,8 @@ void ZlibCompressed::init(unsigned level)
 
        below.signal_flush_required.connect(sigc::mem_fun(this, &ZlibCompressed::flush));
 #else
+       (void)buffer_size;
+       (void)stream_end;
        (void)level;
        throw zlib_error("unsupported", -1);
 #endif