summaryrefslogtreecommitdiff
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
parentfe8bbc317752a8ad8f050e93e60bb044078f4c77 (diff)
downloadlibrpm-tizen-a14d06482a667441b47bdf4a6e76e751b99389ee.tar.gz
librpm-tizen-a14d06482a667441b47bdf4a6e76e751b99389ee.tar.bz2
librpm-tizen-a14d06482a667441b47bdf4a6e76e751b99389ee.zip
Remove redundant NULL-check
-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. */