X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fhash.h;h=5002915ead01784ab9ccb58a2d5e1e4fed5c7915;hb=f350e97fc52c3b50f87493d28b41cbadd7db2e95;hp=c3ffc18d032eb2bb47d862e6e96a8a3b661d1a44;hpb=cecabda899366e6d1e4add32316f8630ff583389;p=lttng-ust.git diff --git a/src/common/hash.h b/src/common/hash.h index c3ffc18d..5002915e 100644 --- a/src/common/hash.h +++ b/src/common/hash.h @@ -69,8 +69,8 @@ uint32_t lttng_hash_u32( /*----------------------------------- handle the last 3 uint32_t's */ switch (length) { /* all the case statements fall through */ - case 3: c += k[2]; - case 2: b += k[1]; + case 3: c += k[2]; /* fall through */ + case 2: b += k[1]; /* fall through */ case 1: a += k[0]; final(a, b, c); case 0: /* case 0: nothing left to add */