lib/plist.c: fix an assertion.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100125011444-xzvixcod832ione4
This commit is contained in:
parent
5e367deffe
commit
0ebff2c636
@ -230,7 +230,7 @@ xbps_find_pkg_in_dict_by_pattern(prop_dictionary_t dict,
|
|||||||
|
|
||||||
assert(dict != NULL);
|
assert(dict != NULL);
|
||||||
assert(key != NULL);
|
assert(key != NULL);
|
||||||
assert(pkgmatch != NULL);
|
assert(pattern != NULL);
|
||||||
|
|
||||||
if ((iter = xbps_get_array_iter_from_dict(dict, key)) == NULL)
|
if ((iter = xbps_get_array_iter_from_dict(dict, key)) == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user