From a0bfa074f8fa59d7d650125b97fac31f64fc4759 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 21 Mar 2022 15:25:12 +0200 Subject: mkndx: fix v3 package handling remove incorrect intialization of the ctx->pkginfo fixes commit 950972a5 "mkndx: fix index generation for v2 and v3 packages" --- src/app_mkndx.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2