diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-05-18 17:51:42 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-05-18 17:51:42 +0200 |
commit | c144d46a11bbac0dff31ca4278c65502da5f4b1b (patch) | |
tree | 26ae6cea4b181744a102d753198960e4a30943cb | |
parent | add qtegrity (diff) | |
download | portage-utils-c144d46a11bbac0dff31ca4278c65502da5f4b1b.tar.gz portage-utils-c144d46a11bbac0dff31ca4278c65502da5f4b1b.tar.bz2 portage-utils-c144d46a11bbac0dff31ca4278c65502da5f4b1b.zip |
add fall through comments for gcc-7
-rw-r--r-- | libq/vdb.c | 1 | ||||
-rw-r--r-- | qlist.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -103,6 +103,7 @@ q_vdb_filter_cat(const struct dirent *de) case '-': if (i) break; + /* fall through */ default: return 0; } @@ -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; |