summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/repo_content.c3
-rw-r--r--ext/repo_zyppdb.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/ext/repo_content.c b/ext/repo_content.c
index 2ce6940..e94ca9e 100644
--- a/ext/repo_content.c
+++ b/ext/repo_content.c
@@ -408,7 +408,6 @@ repo_add_content(Repo *repo, FILE *fp, int flags)
}
/* create new solvable */
s = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, s - pool->solvables);
handle = s - pool->solvables;
s->name = pool_str2id(pool, join(&pd, "product", ":", value), 1);
if (datadir)
@@ -425,7 +424,6 @@ repo_add_content(Repo *repo, FILE *fp, int flags)
if (!s)
{
s = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, s - pool->solvables);
handle = s - pool->solvables;
}
@@ -546,7 +544,6 @@ repo_add_content(Repo *repo, FILE *fp, int flags)
for (i = 0; i < numotherarchs; ++i)
{
Solvable *p = pool_id2solvable(pool, repo_add_solvable(repo));
- repodata_extend(data, p - pool->solvables);
p->name = s->name;
p->evr = s->evr;
p->vendor = s->vendor;
diff --git a/ext/repo_zyppdb.c b/ext/repo_zyppdb.c
index 207f563..5200c29 100644
--- a/ext/repo_zyppdb.c
+++ b/ext/repo_zyppdb.c
@@ -161,7 +161,6 @@ startElement(void *userData, const char *name, const char **atts)
/* parse 'type' */
const char *type = find_attr("type", atts);
s = pd->solvable = pool_id2solvable(pool, repo_add_solvable(pd->repo));
- repodata_extend(pd->data, s - pool->solvables);
pd->handle = s - pool->solvables;
if (type)
repodata_set_str(pd->data, pd->handle, PRODUCT_TYPE, type);