diff --git a/lib/package_unpack.c b/lib/package_unpack.c index 47c8282b..a4a918d4 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -68,8 +68,6 @@ find_pkg_symlink_target(xbps_dictionary_t d, const char *file) const char *pkgfile, *tgt = NULL; char *rfile; - assert(d); - links = xbps_dictionary_get(d, "links"); for (unsigned int i = 0; i < xbps_array_count(links); i++) { rfile = strchr(file, '.') + 1; @@ -182,9 +180,6 @@ unpack_archive(struct xbps_handle *xhp, bool skip_extract, force, metafile, xucd_stats; uid_t euid; - assert(xbps_object_type(pkg_repod) == XBPS_TYPE_DICTIONARY); - assert(ar != NULL); - propsd = filesd = old_filesd = NULL; force = preserve = update = conf_file = file_exists = false; skip_obsoletes = metafile = xucd_stats = false;