diff options
author | Michael Schroeder <mls@suse.de> | 2013-10-17 12:00:29 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-10-17 12:00:29 +0200 |
commit | 0606ae65ab1fbe731395bc6d1b1451809378e95b (patch) | |
tree | 1a67b7c4144840bbc5c7df493113225693c514cd | |
parent | 347e247833438d572c2cfea246c01ea439b72363 (diff) | |
download | libsolv-0606ae65ab1fbe731395bc6d1b1451809378e95b.tar.gz libsolv-0606ae65ab1fbe731395bc6d1b1451809378e95b.tar.bz2 libsolv-0606ae65ab1fbe731395bc6d1b1451809378e95b.zip |
no longer ask the nscallback for pruduct buddies
-rw-r--r-- | src/linkedpkg.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/linkedpkg.c b/src/linkedpkg.c index 445d315..d8ecc71 100644 --- a/src/linkedpkg.c +++ b/src/linkedpkg.c @@ -97,25 +97,9 @@ find_application_link(Pool *pool, Solvable *s, Id *reqidp, Queue *qr, Id *prvidp void find_product_link(Pool *pool, Solvable *s, Id *reqidp, Queue *qr, Id *prvidp, Queue *qp) { - Id n = s - pool->solvables; Id p, pp, namerelid; char *str; - if (pool->nscallback) - { - Id buddy = pool->nscallback(pool, pool->nscallbackdata, NAMESPACE_PRODUCTBUDDY, n); - if (buddy > 0 && buddy != SYSTEMSOLVABLE && buddy != n && buddy < pool->nsolvables) - { - if (reqidp) - *reqidp = solvable_selfprovidedep(pool->solvables + buddy); - queue_push(qr, buddy); - if (prvidp) - *prvidp = solvable_selfprovidedep(s); - if (qp) - queue_push(qp, n); - return; - } - } /* search for project requires */ namerelid = 0; if (s->requires) |