xbps_search_string_in_pkgs(): remove unneeded assert.
--HG-- extra : convert_revision : 8cf98bcf0ae83958f2f31d951465333930e32f2e
This commit is contained in:
@@ -462,7 +462,6 @@ xbps_search_string_in_pkgs(prop_object_t obj, void *arg, bool *loop_done)
|
|||||||
const char *repofile, *plist;
|
const char *repofile, *plist;
|
||||||
|
|
||||||
assert(prop_object_type(obj) == PROP_TYPE_STRING);
|
assert(prop_object_type(obj) == PROP_TYPE_STRING);
|
||||||
assert(pkgstring != NULL);
|
|
||||||
|
|
||||||
/* Get the location of pkgindex file. */
|
/* Get the location of pkgindex file. */
|
||||||
repofile = prop_string_cstring_nocopy(obj);
|
repofile = prop_string_cstring_nocopy(obj);
|
||||||
|
Reference in New Issue
Block a user