diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 19:25:28 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 19:25:28 +0100 |
commit | e405204915600340180cef61471471929fb0c275 (patch) | |
tree | 1f9aa6460524b97772b95c8b50db358eaa665f27 /lib/libalpm/alpm.c | |
parent | fce68beaafade3453b89ade29d95e99ac172de01 (diff) | |
download | pacman-e405204915600340180cef61471471929fb0c275.tar.gz pacman-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.c | 1 |
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)); |