Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-18 00:28:53 -0500
committerDan McGee <dan@archlinux.org>2011-08-18 10:47:41 -0500
commit5d291d050ebd714851c6bd85efd49a03d88414f0 (patch)
treebf8acfd686e0040b22da93aa61c22548cff07ef5 /lib/libalpm/deps.c
parentc4bd476ad13e142fe8323fe74d84b3950b53da17 (diff)
Remove usages of alpm_list_next() in backend
Another function call that can be replaced by a single pointer dereference. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 6869087c..de9ae44c 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -230,7 +230,7 @@ static alpm_pkg_t *find_dep_satisfier(alpm_list_t *pkgs, alpm_depend_t *dep)
{
alpm_list_t *i;
- for(i = pkgs; i; i = alpm_list_next(i)) {
+ for(i = pkgs; i; i = i->next) {
alpm_pkg_t *pkg = i->data;
if(_alpm_depcmp(pkg, dep)) {
return pkg;