Fix an assertion.
This commit is contained in:
parent
de034c28f5
commit
bb897da7b4
@ -258,7 +258,7 @@ find_pkg_in_array(prop_array_t array, const char *str, bool bypattern)
|
|||||||
const char *pkgver, *dpkgn;
|
const char *pkgver, *dpkgn;
|
||||||
|
|
||||||
assert(array != NULL);
|
assert(array != NULL);
|
||||||
assert(name != NULL);
|
assert(str != NULL);
|
||||||
|
|
||||||
iter = prop_array_iterator(array);
|
iter = prop_array_iterator(array);
|
||||||
if (iter == NULL)
|
if (iter == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user