Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-02 12:46:28 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-02 12:46:28 +0000
commitd2ce54df86a4e6a49828cb09ac69b45633828c15 (patch)
tree976e6ce4cfdef07b7823ba9c980fde7a8c915f72 /lib
parent6b75a4f312e3578a7bc724715c2a61eb74d0430f (diff)
code cleanup
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/add.c3
1 files changed, 1 insertions, 2 deletions
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 */