Skip to content

Commit

Permalink
Mute gcc -Werror=implicit-fallthrough, where it was intended
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Mar 9, 2018
1 parent 9a7397d commit eb34660
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/native/aes/aes_aesni.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,18 +301,25 @@ static inline void _nc_aesni_dec8 (const uint8_t src[128], uint8_t dst[128], con
switch (blocks) { \
case 7: \
f1 (__b (src, 6), __b (dst, 6), rk, rounds); \
__attribute__ ((fallthrough)); \
case 6: \
f1 (__b (src, 5), __b (dst, 5), rk, rounds); \
__attribute__ ((fallthrough)); \
case 5: \
f1 (__b (src, 4), __b (dst, 4), rk, rounds); \
__attribute__ ((fallthrough)); \
case 4: \
f1 (__b (src, 3), __b (dst, 3), rk, rounds); \
__attribute__ ((fallthrough)); \
case 3: \
f1 (__b (src, 2), __b (dst, 2), rk, rounds); \
__attribute__ ((fallthrough)); \
case 2: \
f1 (__b (src, 1), __b (dst, 1), rk, rounds); \
__attribute__ ((fallthrough)); \
case 1: \
f1 (__b (src, 0), __b (dst, 0), rk, rounds); \
__attribute__ ((fallthrough)); \
case 0: \
return; \
default: \
Expand Down

0 comments on commit eb34660

Please sign in to comment.