summaryrefslogtreecommitdiff
path: root/src/gunzip.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-01-06 00:27:17 +0200
committerTimo Teräs <timo.teras@iki.fi>2020-01-06 00:27:17 +0200
commite39334e44f723b0a1d1036f354c5d8f5d0a12377 (patch)
treeaff3b1638e1ab0fb0122c4c2fc4c8c40b2cafe88 /src/gunzip.c
parente4aae45f960691afdc25ebc9d0b4c38af40e4346 (diff)
downloadapk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.gz
apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.bz2
apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.xz
apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.zip
io: remove unused size parameter from bstream close
Diffstat (limited to 'src/gunzip.c')
-rw-r--r--src/gunzip.c4
1 files changed, 2 insertions, 2 deletions
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);
}