diff options
author | Timo Teräs <timo.teras@iki.fi> | 2022-03-21 15:25:12 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-03-21 15:25:12 +0200 |
commit | a0bfa074f8fa59d7d650125b97fac31f64fc4759 (patch) | |
tree | 03b9eda90a69fe93633e65ff7481c3b77c811587 /src | |
parent | 386cadd0d41bd6bd62044a8c67bd64eedd5c626d (diff) | |
download | apk-tools-a0bfa074f8fa59d7d650125b97fac31f64fc4759.tar.gz apk-tools-a0bfa074f8fa59d7d650125b97fac31f64fc4759.tar.bz2 apk-tools-a0bfa074f8fa59d7d650125b97fac31f64fc4759.tar.xz apk-tools-a0bfa074f8fa59d7d650125b97fac31f64fc4759.zip |
mkndx: fix v3 package handling
remove incorrect intialization of the ctx->pkginfo
fixes commit 950972a5 "mkndx: fix index generation for v2 and v3 packages"
Diffstat (limited to 'src')
-rw-r--r-- | src/app_mkndx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app_mkndx.c b/src/app_mkndx.c index 9e6cd7b..0b002f7 100644 --- a/src/app_mkndx.c +++ b/src/app_mkndx.c @@ -171,8 +171,6 @@ static int mkndx_parse_v3meta(struct apk_extract_ctx *ectx, struct adb_obj *pkg) struct adb_obj pkginfo; adb_ro_obj(pkg, ADBI_PKG_PKGINFO, &pkginfo); - - adb_wo_alloca(&ctx->pkginfo, &schema_pkginfo, &ctx->db); adb_wo_copyobj(&ctx->pkginfo, &pkginfo); return 0; |