bin/xbps-pkgdb/check_pkg_files.c: remove bogus assignment.
This commit is contained in:
parent
6fdb2e322d
commit
1f5bb03daf
@ -115,7 +115,7 @@ check_pkg_files(struct xbps_handle *xhp, const char *pkgname, void *arg)
|
|||||||
while ((obj = prop_object_iterator_next(iter))) {
|
while ((obj = prop_object_iterator_next(iter))) {
|
||||||
prop_dictionary_get_cstring_nocopy(obj, "file", &file);
|
prop_dictionary_get_cstring_nocopy(obj, "file", &file);
|
||||||
path = xbps_xasprintf("%s/%s", xhp->rootdir, file);
|
path = xbps_xasprintf("%s/%s", xhp->rootdir, file);
|
||||||
if ((rv = access(path, R_OK)) == -1) {
|
if (access(path, R_OK) == -1) {
|
||||||
if (errno == ENOENT) {
|
if (errno == ENOENT) {
|
||||||
xbps_error_printf(
|
xbps_error_printf(
|
||||||
"%s: unexistent file %s\n",
|
"%s: unexistent file %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user