mkndx: fix v3 package handling

remove incorrect intialization of the ctx->pkginfo

fixes commit 950972a5 "mkndx: fix index generation for v2 and v3 packages"
cute-signatures
Timo Teräs 2022-03-21 15:25:12 +02:00
parent 386cadd0d4
commit a0bfa074f8
1 changed files with 0 additions and 2 deletions

View File

@ -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;