diff --git a/include/xbps_api_impl.h b/include/xbps_api_impl.h index fdee4d1b..b1d0201e 100644 --- a/include/xbps_api_impl.h +++ b/include/xbps_api_impl.h @@ -158,7 +158,6 @@ int HIDDEN xbps_entry_install_conf_file(struct xbps_handle *, xbps_dictionary_t, struct archive_entry *, const char *, - const char *, const char *); /** diff --git a/lib/package_config_files.c b/lib/package_config_files.c index 95832d7d..90da5ba3 100644 --- a/lib/package_config_files.c +++ b/lib/package_config_files.c @@ -63,8 +63,7 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp, xbps_dictionary_t pkg_filesd, struct archive_entry *entry, const char *entry_pname, - const char *pkgver, - const char *pkgname) + const char *pkgver) { xbps_object_t obj, obj2; xbps_object_iterator_t iter, iter2; @@ -76,7 +75,6 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp, assert(entry); assert(entry_pname); assert(pkgver); - assert(pkgname); iter = xbps_array_iter_from_dict(binpkg_filesd, "conf_files"); if (iter == NULL) diff --git a/lib/package_unpack.c b/lib/package_unpack.c index fdf6a936..c425aa6b 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -352,7 +352,7 @@ unpack_archive(struct xbps_handle *xhp, rv = xbps_entry_install_conf_file(xhp, binpkg_filesd, pkg_filesd, entry, - entry_pname, pkgver, pkgname); + entry_pname, pkgver); if (rv == -1) { /* error */ goto out;