summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-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 */