summaryrefslogtreecommitdiff
path: root/src/apk.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/apk.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/apk.c')
-rw-r--r--src/apk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apk.c b/src/apk.c
index 626da6d..ec16d28 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -638,7 +638,7 @@ int main(int argc, char **argv)
struct apk_bstream *bs = apk_bstream_from_file(AT_FDCWD, test_installed_db);
if (!IS_ERR_OR_NULL(bs)) {
apk_db_index_read(&db, bs, -1);
- apk_bstream_close(bs, NULL);
+ apk_bstream_close(bs);
}
}
for (i = 0; i < test_repos->num; i++) {
@@ -666,7 +666,7 @@ int main(int argc, char **argv)
}
apk_db_index_read(&db, bs, repo);
- apk_bstream_close(bs, NULL);
+ apk_bstream_close(bs);
if (repo != -2) {
if (!(apk_flags & APK_NO_NETWORK))
db.available_repos |= BIT(repo);