- revert strange change from Klaus
authorMichael Schroeder <mls@suse.de>
Mon, 20 Oct 2008 15:38:03 +0000 (15:38 +0000)
committerMichael Schroeder <mls@suse.de>
Mon, 20 Oct 2008 15:38:03 +0000 (15:38 +0000)
src/repodata.c

index 8ee7553..8e2c88b 100644 (file)
@@ -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)
     {