From d2ce54df86a4e6a49828cb09ac69b45633828c15 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 2 Jan 2006 12:46:28 +0000 Subject: code cleanup --- lib/libalpm/add.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index ea6cf6b3..e63da6f4 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -202,13 +202,12 @@ int add_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data) /* Check dependencies */ if(!(trans->flags & PM_TRANS_FLAG_NODEPS)) { - PMList *i; - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_START, NULL, NULL); _alpm_log(PM_LOG_FLOW1, "looking for conflicts or unsatisfied dependencies"); lp = checkdeps(db, trans->type, trans->packages); if(lp != NULL) { + PMList *i; int errorout = 0; /* look for unsatisfied dependencies */ -- cgit v1.2.3-70-g09d2