From: Michael Schroeder Date: Mon, 20 Oct 2008 15:38:03 +0000 (+0000) Subject: - revert strange change from Klaus X-Git-Tag: BASE-SuSE-Code-12_1-Branch~436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51eb98d0f48800bd078356fffb42d921d32f7df4;p=platform%2Fupstream%2Flibsolv.git - revert strange change from Klaus --- diff --git a/src/repodata.c b/src/repodata.c index 8ee7553..8e2c88b 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -956,15 +956,6 @@ int dataiterator_init(Dataiterator *di, Pool *pool, Repo *repo, Id p, Id keyname, const char *match, int flags) { memset(di, 0, sizeof(*di)); - if (pool == NULL) - { - if (repo == NULL) - { - return -1; - } - pool = repo->pool; - } - di->pool = pool; if (match) {