summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-22 13:11:00 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-22 13:11:00 +0200
commita14d06482a667441b47bdf4a6e76e751b99389ee (patch)
treeacd18449aea232db6f2b77d10131b60bc81b71a0 /lib/rpmds.c
parentfe8bbc317752a8ad8f050e93e60bb044078f4c77 (diff)
downloadrpm-a14d06482a667441b47bdf4a6e76e751b99389ee.tar.gz
rpm-a14d06482a667441b47bdf4a6e76e751b99389ee.tar.bz2
rpm-a14d06482a667441b47bdf4a6e76e751b99389ee.zip
Remove redundant NULL-check
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index 3f92ab823..344eeca7d 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -853,7 +853,6 @@ int rpmdsAnyMatchesDep (const Header h, const rpmds req, int nopromote)
}
result = 0;
- if (provides != NULL)
while (rpmdsNext(provides) >= 0) {
/* Filter out provides that came along for the ride. */