commit: c144d46a11bbac0dff31ca4278c65502da5f4b1b
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 15:51:42 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> 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;