diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-07-19 15:57:25 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-19 11:04:38 -0500 |
commit | 2b73d451274f48f89ae434297399565aca812035 (patch) | |
tree | 0fd65b3e7fa9c9b347d3b8007a6738dd8551ba4b /lib/libalpm/deps.c | |
parent | a8405847e63c89e5694a84a96bef5023de890024 (diff) | |
download | pacman-2b73d451274f48f89ae434297399565aca812035.tar.xz |
Use NULL instead of "" as no causingpkg
Our STRDUP macro (used in _alpm_depmiss_new) is NULL safe.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r-- | lib/libalpm/deps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 0f3f45c8..c667daa2 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -277,7 +277,7 @@ alpm_list_t SYMEXPORT *alpm_checkdeps(pmdb_t *db, int reversedeps, _alpm_log(PM_LOG_DEBUG, "checkdeps: missing dependency '%s' for package '%s'\n", missdepstring, alpm_pkg_get_name(tp)); free(missdepstring); - miss = _alpm_depmiss_new(alpm_pkg_get_name(tp), depend, ""); + miss = _alpm_depmiss_new(alpm_pkg_get_name(tp), depend, NULL); baddeps = alpm_list_add(baddeps, miss); } } |