cmake: add more hardening compiler flags
[project/uci.git] / parse.c
diff --git a/parse.c b/parse.c
index 63095b507d147f92e07523d6590e606c0304b9e3..499c32ea17d496ba1c63f644c7f1d7eac823ec2f 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -78,7 +78,9 @@ static uint32_t hash_murmur2(uint32_t h, const void * key, int len)
        switch(len)
        {
        case 3: h ^= data[2] << 16;
+               /* fall through */
        case 2: h ^= data[1] << 8;
+               /* fall through */
        case 1: h ^= data[0];
                h *= m;
        };