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 F414D1382C5 for ; Fri, 18 May 2018 16:58:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DFB9E09C1; Fri, 18 May 2018 16:58:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19B68E09C1 for ; Fri, 18 May 2018 16:58:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F170B335C04 for ; Fri, 18 May 2018 16:58:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71D2243 for ; Fri, 18 May 2018 16:58:07 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1526658702.c144d46a11bbac0dff31ca4278c65502da5f4b1b.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: /, libq/ X-VCS-Repository: proj/portage-utils X-VCS-Files: libq/vdb.c qlist.c X-VCS-Directories: libq/ / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: c144d46a11bbac0dff31ca4278c65502da5f4b1b X-VCS-Branch: master Date: Fri, 18 May 2018 16:58:07 +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: 70ea205c-b30f-439c-bbe1-0b7c3d7255e8 X-Archives-Hash: 2724a1d9844bb1c906ccefb09a71a278 commit: c144d46a11bbac0dff31ca4278c65502da5f4b1b Author: Fabian Groffen gentoo org> AuthorDate: Fri May 18 15:51:42 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri May 18 15:51:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=c144d46a add fall through comments for gcc-7 libq/vdb.c | 1 + qlist.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libq/vdb.c b/libq/vdb.c index 85f061a..fa4f6ce 100644 --- a/libq/vdb.c +++ b/libq/vdb.c @@ -103,6 +103,7 @@ q_vdb_filter_cat(const struct dirent *de) case '-': if (i) break; + /* fall through */ default: return 0; } diff --git a/qlist.c b/qlist.c index 4d3a4e0..a332acc 100644 --- a/qlist.c +++ b/qlist.c @@ -389,7 +389,7 @@ int qlist_main(int argc, char **argv) while ((i = GETOPT_LONG(QLIST, qlist, "")) != -1) { switch (i) { COMMON_GETOPTS_CASES(qlist) - case 'a': state.all = true; + case 'a': state.all = true; /* fall through */ case 'I': state.just_pkgname = true; break; case 'S': state.just_pkgname = true; ++state.show_slots; break; case 'R': state.just_pkgname = state.show_repo = true; break;