From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76204139085 for ; Tue, 20 Dec 2016 16:55:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D95192241FA; Tue, 20 Dec 2016 16:55:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA1372241FA for ; Tue, 20 Dec 2016 16:55:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E631033D3C7 for ; Tue, 20 Dec 2016 16:55:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFDB624AB for ; Tue, 20 Dec 2016 16:55:14 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1482252892.9909f96b644a812e93916c91bac0fdc1a4c586c3.vapier@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 9909f96b644a812e93916c91bac0fdc1a4c586c3 X-VCS-Branch: master Date: Tue, 20 Dec 2016 16:55:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc16be22-3f41-45a6-afc5-d6e0c8727b9a X-Archives-Hash: 2c8bbc8ff6fdfb4bfb4ef0a71c0d1861 commit: 9909f96b644a812e93916c91bac0fdc1a4c586c3 Author: Mike Frysinger gentoo org> AuthorDate: Tue Dec 20 16:54:52 2016 +0000 Commit: Mike Frysinger gentoo 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; }