From da66bedf4f98897dfc350195314089028050fa7d Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Mon, 18 Jun 2007 10:40:23 -0400 Subject: Remove unnecessary trans parameter from _alpm_checkdeps The trans parameter was never used, so remove it. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- lib/libalpm/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/add.c') diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 5c9885e7..b6a54b7f 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -189,7 +189,7 @@ int _alpm_add_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data) /* look for unsatisfied dependencies */ _alpm_log(PM_LOG_DEBUG, _("looking for unsatisfied dependencies")); - lp = _alpm_checkdeps(trans, db, trans->type, trans->packages); + lp = _alpm_checkdeps(db, trans->type, trans->packages); if(lp != NULL) { if(data) { *data = lp; -- cgit v1.2.3-70-g09d2