summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-06-25 09:54:33 -0700
committerOri Bernstein <ori@eigenstate.org>2017-06-25 09:54:33 -0700
commitcefbc6118e75188bc34c13eb1411b9c673d7defb (patch)
treee481f8093ac7d54ab24adfe3613940a36cca2206 /util
parent112022b46043bd1e5f4aa458f94b3ce0a1706490 (diff)
downloadmc-cefbc6118e75188bc34c13eb1411b9c673d7defb.tar.gz
Remove -Wextra
Diffstat (limited to 'util')
-rw-r--r--util/htab.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/util/htab.c b/util/htab.c
index 60571d7..0fc0ed4 100644
--- a/util/htab.c
+++ b/util/htab.c
@@ -300,12 +300,9 @@ ulong murmurhash2 (void *ptr, size_t len)
}
switch (len & 0x3) {
- case 3:
- h ^= p[2] << 16;
- case 2:
- h ^= p[1] << 8;
- case 1:
- h ^= p[0] << 0;
+ case 3: h ^= p[2] << 16;
+ case 2: h ^= p[1] << 8;
+ case 1: h ^= p[0] << 0;
default:
break;
};