summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-09 20:16:00 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-09 20:16:00 +0000
commitfd6ce1f4cb8011756f7c07d28c5e06ce0be1acb7 (patch)
tree1e735f251fdfb3413085862bf77f851ec0ce3eb0 /lib/libalpm/trans.c
parent45a7e57f6c4c375d6b8716e2dfc15da592ec147b (diff)
downloadpacman-fd6ce1f4cb8011756f7c07d28c5e06ce0be1acb7.tar.xz
- merged pkg_new and pkg_dummy functions
- renamed _alpm_log_action to _alpm_logaction
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 12441f01..fd0814e6 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -82,10 +82,6 @@ int trans_init(pmtrans_t *trans, unsigned char type, unsigned char flags, alpm_t
/* Sanity checks */
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));
- /* ORE
- perform sanity checks on type and flags:
- for instance, we can't set UPGRADE and FRESHEN at the same time */
-
trans->type = type;
trans->flags = flags;
trans->cb_event = event;