summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-01-08 22:07:31 +0000
committerJudd Vinet <judd@archlinux.org>2006-01-08 22:07:31 +0000
commit45a7e57f6c4c375d6b8716e2dfc15da592ec147b (patch)
tree12ec84d7dd7e67bc18c434dbc2024e658c446505 /lib
parent6866b8ce6f5d5cce8dd106fdcb0404e521852382 (diff)
downloadpacman-45a7e57f6c4c375d6b8716e2dfc15da592ec147b.tar.xz
cleanup
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/deps.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 05a926d0..6b9ab6c3 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -287,7 +287,6 @@ PMList *checkdeps(pmdb_t *db, unsigned char op, PMList *packages)
}
/* CHECK 3: check database against targets */
for(k = db_get_pkgcache(db); k; k = k->next) {
- int conflict = 0;
info = k->data;
for(j = info->conflicts; j; j = j->next) {
if(!strcmp((char *)j->data, tp->name)) {
@@ -325,8 +324,6 @@ PMList *checkdeps(pmdb_t *db, unsigned char op, PMList *packages)
}
}
}
- if(conflict) {
- }
}
/* DEPENDENCIES -- look for unsatisfied dependencies */