X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_urcu_hash.h;h=dfb8116a1fd2651ebcc6f565d3d9826beb86ce62;hb=61c3fb603104bda9e67c0690c1964e61a770d045;hp=023ae1c4a06fe4aeb24338e59bd11a905cdabd9a;hpb=447c9339d4f21fe5bba1aa77eccc9f94745e6447;p=urcu.git diff --git a/tests/benchmark/test_urcu_hash.h b/tests/benchmark/test_urcu_hash.h index 023ae1c..dfb8116 100644 --- a/tests/benchmark/test_urcu_hash.h +++ b/tests/benchmark/test_urcu_hash.h @@ -37,7 +37,6 @@ #include #include -#include "cpuset.h" #include "thread-id.h" #include "../common/debug-yield.h" @@ -249,10 +248,11 @@ uint32_t 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); + /* fall through */ case 0: /* case 0: nothing left to add */ break; }