From 0927ecf1c62e944e67f648da1e6e6ceee2b82e0f Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 22 Jan 2017 23:29:59 -0600 Subject: [PATCH] Revert "Actually fix the regression introduced in 7b39c38" This reverts commit 5e5c418837b569196cc17eb999b3c11a9cc0099d. --- libpkgconf/pkg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index 439b939..cc114d9 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -1343,7 +1343,6 @@ pkgconf_pkg_traverse(pkgconf_client_t *client, void *data, int maxdepth) { - unsigned int saved_flags = client->flags; unsigned int eflags = PKGCONF_PKG_ERRF_OK; if (maxdepth == 0) @@ -1354,7 +1353,6 @@ pkgconf_pkg_traverse(pkgconf_client_t *client, if (func != NULL) func(client, root, data); } - client->flags &= ~PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL; if (!(client->flags & PKGCONF_PKG_PKGF_SKIP_CONFLICTS)) { @@ -1377,7 +1375,6 @@ pkgconf_pkg_traverse(pkgconf_client_t *client, if (eflags != PKGCONF_PKG_ERRF_OK) return eflags; } - client->flags = saved_flags; return eflags; }