diff options
author | Allan McRae <allan@archlinux.org> | 2019-02-12 11:17:30 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-02-12 11:29:13 +1000 |
commit | 86004227d14bef059f71290b3c0454ad88ea0f86 (patch) | |
tree | 6876053a8632521131d72b9654994b68973aa491 /src | |
parent | db102c67efe9cfd4367a9110c8f97ceff5afcbe3 (diff) | |
download | pacman-86004227d14bef059f71290b3c0454ad88ea0f86.tar.xz |
Add implicit fall through warning
Requires modification to our comment about fall through to match compilers
expectations. Works for GCC and Clang.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index a2a420b6..3bb622e6 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -196,7 +196,7 @@ static void usage(int op, const char * const myname) addlist(_(" --ignore <pkg> ignore a package upgrade (can be used more than once)\n")); addlist(_(" --ignoregroup <grp>\n" " ignore a group upgrade (can be used more than once)\n")); - /* pass through */ + /* fall through */ case PM_OP_REMOVE: addlist(_(" -d, --nodeps skip dependency version checks (-dd to skip all checks)\n")); addlist(_(" --assume-installed <package=version>\n" |