summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-22 14:53:56 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-22 14:53:56 +0300
commite95921e29bdaa15094499d9191cd6fbfd0b7e63a (patch)
treeb70d0322c409624f380c216ab29cc0f209f25a48 /lib
parent21d527f6c7111c067fc88a6ef76d201c7a653936 (diff)
downloadlibrpm-tizen-e95921e29bdaa15094499d9191cd6fbfd0b7e63a.tar.gz
librpm-tizen-e95921e29bdaa15094499d9191cd6fbfd0b7e63a.tar.bz2
librpm-tizen-e95921e29bdaa15094499d9191cd6fbfd0b7e63a.zip
Remove no longer necessary RPMDBI_PACKAGES special casing
Diffstat (limited to 'lib')
-rw-r--r--lib/query.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/query.c b/lib/query.c
index 831eef798..bd823042a 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -279,8 +279,6 @@ static int rpmgiShowMatches(QVA_t qva, rpmts ts)
continue;
if ((rc = qva->qva_showPackage(qva, ts, h)) != 0)
ec = rc;
- if (qva->qva_source == RPMQV_DBOFFSET)
- break;
}
return ec + rpmgiNumErrors(gi);
}
@@ -295,8 +293,6 @@ int rpmcliShowMatches(QVA_t qva, rpmts ts)
rpmdbCheckSignals();
if ((rc = qva->qva_showPackage(qva, ts, h)) != 0)
ec = rc;
- if (qva->qva_source == RPMQV_DBOFFSET)
- break;
}
qva->qva_mi = rpmdbFreeIterator(qva->qva_mi);
return ec;