Fix two asserts.

This commit is contained in:
Juan RP
2011-01-27 20:47:34 +01:00
parent 8a7bfe6cda
commit 1cc45ee20f
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ xbps_check_is_installed_pkg_by_pattern(const char *pattern)
prop_dictionary_t dict;
pkg_state_t state;
assert(pkg != NULL);
assert(pattern != NULL);
dict = xbps_find_pkg_dict_installed(pattern, true);
if (dict == NULL) {