commit:     9909f96b644a812e93916c91bac0fdc1a4c586c3
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 16:54:52 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 16:54:52 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=9909f96b

qmerge: fix clang -Wpointer-bool-conversion warning

 qmerge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qmerge.c b/qmerge.c
index c7b928e..68459c9 100644
--- a/qmerge.c
+++ b/qmerge.c
@@ -771,7 +771,7 @@ pkg_merge(int level, const depend_atom *atom, const struct 
pkg_t *pkg)
        if (!install || !pkg || !atom)
                return;
 
-       if (!pkg->PF[0] || !pkg->CATEGORY) {
+       if (!pkg->PF[0] || !pkg->CATEGORY[0]) {
                if (verbose) warn("CPF is really NULL at level %d", level);
                return;
        }

Reply via email to