From 45a7e57f6c4c375d6b8716e2dfc15da592ec147b Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sun, 8 Jan 2006 22:07:31 +0000 Subject: cleanup --- lib/libalpm/deps.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/libalpm') 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 */ -- cgit v1.2.3-70-g09d2