summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-13 00:13:44 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-13 18:23:47 +0100
commite63c283c4e6a71df358bd12e4ba2fe49c1619d82 (patch)
treecdcce0a316452b2e7620d9a0c460cfa1e7a7bcdf /include
parent9b477e07e00bc2d651784d7c82c2123f0bd7386b (diff)
src: Fix for implicit-fallthrough warnings
Mark fall through cases as such. Note that correctness of those fall throughs have not been verified. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/jhash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jhash.h b/include/jhash.h
index d164e38..9793452 100644
--- a/include/jhash.h
+++ b/include/jhash.h
@@ -106,7 +106,7 @@ static inline u32 jhash2(const u32 *k, u32 length, u32 initval)
c += length * 4;
switch (len) {
- case 2 : b += k[1];
+ case 2 : b += k[1]; /* fall through */
case 1 : a += k[0];
};