summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-07 18:25:28 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-07 18:25:28 +0000
commite405204915600340180cef61471471929fb0c275 (patch)
tree1f9aa6460524b97772b95c8b50db358eaa665f27 /lib/libalpm/alpm.c
parentfce68beaafade3453b89ade29d95e99ac172de01 (diff)
downloadpacman-e405204915600340180cef61471471929fb0c275.tar.xz
removed a restriction: the data parameter of XXX_prepare functions can be NULL
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 7dca7ffd..819807c6 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -611,7 +611,6 @@ int alpm_trans_prepare(PMList **data)
/* Sanity checks */
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
- ASSERT(data != NULL, RET_ERR(PM_ERR_WRONG_ARGS, -1));
trans = handle->trans;
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));