summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/-test-/random/loop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/random/loop.c b/ext/-test-/random/loop.c
index ec4eff013e..0572096403 100644
--- a/ext/-test-/random/loop.c
+++ b/ext/-test-/random/loop.c
@@ -63,12 +63,15 @@ loop_get_bytes(rb_random_t *rnd, void *p, size_t n)
case 0:
*buf++ = (uint8_t)x;
n--;
+ /* FALLTHROUGH */
case 3:
*buf++ = (uint8_t)x;
n--;
+ /* FALLTHROUGH */
case 2:
*buf++ = (uint8_t)x;
n--;
+ /* FALLTHROUGH */
case 1:
*buf++ = (uint8_t)x;
n--;