diff options
author | Nagy Gabor <ngaba@petra.hos.u-szeged.hu> | 2007-06-18 10:40:23 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-26 11:43:02 -0400 |
commit | da66bedf4f98897dfc350195314089028050fa7d (patch) | |
tree | 80dac08de3799f776144731fc1073bc8b6cdeb27 /lib/libalpm/add.c | |
parent | 2ae043866045bbeef129a4b503ee1f5486545821 (diff) | |
download | pacman-da66bedf4f98897dfc350195314089028050fa7d.tar.xz |
Remove unnecessary trans parameter from _alpm_checkdeps
The trans parameter was never used, so remove it.
Signed-off-by: Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |