aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2017-06-11 10:02:36 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2017-06-11 10:04:09 -0700
commit974ff60cadea127835fa49a92f61bb997e47acd5 (patch)
tree9b339005cc7df24cfa2f3b3c3fc5d0f0ca451289
parente2ca12d1037d46b614c0af726ad81bf8c34e0b1d (diff)
downloadpaludis-974ff60cadea127835fa49a92f61bb997e47acd5.tar.gz
paludis-974ff60cadea127835fa49a92f61bb997e47acd5.tar.xz
resolver: add fallthrough attribute to silence -Wimplicit-fallthrough
-rw-r--r--paludis/resolver/get_initial_constraints_for_helper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/resolver/get_initial_constraints_for_helper.cc b/paludis/resolver/get_initial_constraints_for_helper.cc
index a132700..7509e8a 100644
--- a/paludis/resolver/get_initial_constraints_for_helper.cc
+++ b/paludis/resolver/get_initial_constraints_for_helper.cc
@@ -157,11 +157,11 @@ namespace
default:
if (0 == pkg.compare(pkg.length() - 6, 6, "-darcs"))
return true;
-
+ [[gnu::fallthrough]];
case 5:
if (0 == pkg.compare(pkg.length() - 5, 5, "-live"))
return true;
-
+ [[gnu::fallthrough]];
case 4:
if (0 == pkg.compare(pkg.length() - 4, 4, "-cvs"))
return true;