code cleanup

This commit is contained in:
Aurelien Foret 2006-01-02 12:46:28 +00:00
parent 6b75a4f312
commit d2ce54df86

View file

@ -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 */