summaryrefslogtreecommitdiff
path: root/sbox32_hash.h
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2017-10-13 19:50:24 +0200
committerLukas Mai <l.mai@web.de>2017-10-13 19:50:24 +0200
commit2165bd23259a778c0554f86f5652881f24fdafc9 (patch)
tree72cc6551c3f4728dec502d11a0cfa5718e58f0b5 /sbox32_hash.h
parent0c6f4d86ce77533b050038c7513faa7f574ed151 (diff)
downloadperl-2165bd23259a778c0554f86f5652881f24fdafc9.tar.gz
get rid of "implicit fallthrough" warnings with gcc 7
Diffstat (limited to 'sbox32_hash.h')
-rw-r--r--sbox32_hash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbox32_hash.h b/sbox32_hash.h
index 66f27accbc..4413342918 100644
--- a/sbox32_hash.h
+++ b/sbox32_hash.h
@@ -1,6 +1,8 @@
#ifndef DEBUG_SBOX32_HASH
#define DEBUG_SBOX32_HASH 0
+GCC_DIAG_IGNORE(-Wimplicit-fallthrough)
+
#include "zaphod32_hash.h"
#if DEBUG_SBOX32_HASH == 1
@@ -1779,5 +1781,6 @@ SBOX32_STATIC_INLINE U32 sbox32_hash128(
return sbox32_hash_with_state((U8*)state,key,key_len);
}
+GCC_DIAG_RESTORE
#endif