Merge branch 'fio_pr_alternate_epoch' of https://github.com/PCPartPicker/fio
[fio.git] / t / lfsr-test.c
index a01f2cfcb43c2cf963f69675bd462eb7f0f2fa33..279e07f0ecd05110fae4e78e12787b8d7788fc27 100644 (file)
@@ -6,6 +6,7 @@
 #include "../lib/lfsr.h"
 #include "../gettime.h"
 #include "../fio_time.h"
+#include "../compiler/compiler.h"
 
 static void usage(void)
 {
@@ -39,9 +40,12 @@ int main(int argc, char *argv[])
        /* Read arguments */
        switch (argc) {
                case 5: if (strncmp(argv[4], "verify", 7) == 0)
-                                       verify = 1;
+                               verify = 1;
+                       fallthrough;
                case 4: spin = atoi(argv[3]);
+                       fallthrough;
                case 3: seed = atol(argv[2]);
+                       fallthrough;
                case 2: numbers = strtol(argv[1], NULL, 16);
                                break;
                default: usage();