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 F261A138334 for ; Tue, 19 Jun 2018 21:34:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB514E0916; Tue, 19 Jun 2018 21:34:32 +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 BCDFEE0916 for ; Tue, 19 Jun 2018 21:34:32 +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 BE185335C91 for ; Tue, 19 Jun 2018 21:34:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31D0D2E2 for ; Tue, 19 Jun 2018 21:34:29 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1529434914.c7e8f1133a42152cc293e6b637985f81bcf8b310.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/checkpath.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c7e8f1133a42152cc293e6b637985f81bcf8b310 X-VCS-Branch: master Date: Tue, 19 Jun 2018 21:34:29 +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: 69544baf-27db-425f-83af-1af8ae33229d X-Archives-Hash: 7b27135f6e21602fecbaf4b21fb39f26 commit: c7e8f1133a42152cc293e6b637985f81bcf8b310 Author: William Hubbs gmail com> AuthorDate: Tue Jun 19 19:01:54 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Jun 19 19:01:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c7e8f113 checkpath: fix gcc 7 warnings src/rc/checkpath.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 07e5f78a..448c9cf8 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -269,11 +269,13 @@ int main(int argc, char **argv) switch (opt) { case 'D': trunc = true; + /* falls through */ case 'd': type = inode_dir; break; case 'F': trunc = true; + /* falls through */ case 'f': type = inode_file; break;