From e39334e44f723b0a1d1036f354c5d8f5d0a12377 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 6 Jan 2020 00:27:17 +0200 Subject: io: remove unused size parameter from bstream close --- src/gunzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gunzip.c') diff --git a/src/gunzip.c b/src/gunzip.c index 5d96c7e..2c35c5b 100644 --- a/src/gunzip.c +++ b/src/gunzip.c @@ -137,7 +137,7 @@ static void gzi_close(struct apk_istream *is) struct apk_gzip_istream *gis = container_of(is, struct apk_gzip_istream, is); inflateEnd(&gis->zs); - apk_bstream_close(gis->bs, NULL); + apk_bstream_close(gis->bs); free(gis); } @@ -171,7 +171,7 @@ struct apk_istream *apk_bstream_gunzip_mpart(struct apk_bstream *bs, return &gis->is; err: - apk_bstream_close(bs, NULL); + apk_bstream_close(bs); return ERR_PTR(-ENOMEM); } -- cgit v1.2.3-60-g2f50