zlib: remove unused variable