Make it clear that the statements are meant to fall through in Murmur hash
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
This commit is contained in:
parent
9b9d439fce
commit
a90eaafa70
@ -89,8 +89,10 @@ void FourBytes_MurmurHash2(const unsigned char* data, IncrementalHashInfo& prev)
|
|||||||
switch (prev.len) {
|
switch (prev.len) {
|
||||||
case 3:
|
case 3:
|
||||||
prev.h ^= data[2] << 16;
|
prev.h ^= data[2] << 16;
|
||||||
|
/* fall through */
|
||||||
case 2:
|
case 2:
|
||||||
prev.h ^= data[1] << 8;
|
prev.h ^= data[1] << 8;
|
||||||
|
/* fall through */
|
||||||
case 1:
|
case 1:
|
||||||
prev.h ^= data[0];
|
prev.h ^= data[0];
|
||||||
prev.h *= m;
|
prev.h *= m;
|
||||||
|
Loading…
Reference in New Issue
Block a user