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
parent
386cadd0d4
commit
a0bfa074f8
|
@ -171,8 +171,6 @@ static int mkndx_parse_v3meta(struct apk_extract_ctx *ectx, struct adb_obj *pkg)
|
||||||
struct adb_obj pkginfo;
|
struct adb_obj pkginfo;
|
||||||
|
|
||||||
adb_ro_obj(pkg, ADBI_PKG_PKGINFO, &pkginfo);
|
adb_ro_obj(pkg, ADBI_PKG_PKGINFO, &pkginfo);
|
||||||
|
|
||||||
adb_wo_alloca(&ctx->pkginfo, &schema_pkginfo, &ctx->db);
|
|
||||||
adb_wo_copyobj(&ctx->pkginfo, &pkginfo);
|
adb_wo_copyobj(&ctx->pkginfo, &pkginfo);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue