Fix gcc-7 warnings.
[openssl.git] / crypto / siphash / siphash.c
index 4bf2382972064ecad92da6a4e3bf052b19188d58..b00d5889b80e828710f2fdf037aaec252bb834f2 100644 (file)
@@ -191,16 +191,22 @@ int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen)
     switch (ctx->len) {
     case 7:
         b |= ((uint64_t)ctx->leavings[6]) << 48;
+        /* fall thru */
     case 6:
         b |= ((uint64_t)ctx->leavings[5]) << 40;
+        /* fall thru */
     case 5:
         b |= ((uint64_t)ctx->leavings[4]) << 32;
+        /* fall thru */
     case 4:
         b |= ((uint64_t)ctx->leavings[3]) << 24;
+        /* fall thru */
     case 3:
         b |= ((uint64_t)ctx->leavings[2]) << 16;
+        /* fall thru */
     case 2:
         b |= ((uint64_t)ctx->leavings[1]) <<  8;
+        /* fall thru */
     case 1:
         b |= ((uint64_t)ctx->leavings[0]);
     case 0: