Blame SOURCES/v1.6.1-implicit-fallthrough.patch

ab1f0c
commit 3a307bd5add3df34665d1e5cb1b646af55ba9653
ab1f0c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
ab1f0c
Date:   Fri Jun 9 07:27:50 2017 +0200
ab1f0c
ab1f0c
    libipt: Fix [-Werror=implicit-fallthrough=] with gcc-7.1.1.
ab1f0c
ab1f0c
diff --git a/libipt/src/pt_block_decoder.c b/libipt/src/pt_block_decoder.c
ab1f0c
index 21783a6..91d5bb3 100644
ab1f0c
--- a/libipt/src/pt_block_decoder.c
ab1f0c
+++ b/libipt/src/pt_block_decoder.c
ab1f0c
@@ -2095,6 +2095,9 @@ static int pt_blk_proceed_no_event_cached(struct pt_block_decoder *decoder,
ab1f0c
 		}
ab1f0c
 
ab1f0c
 		/* Fall through to ptbq_decode. */
ab1f0c
+#if __GNUC__ >= 7
ab1f0c
+		__attribute__ ((fallthrough));
ab1f0c
+#endif
ab1f0c
 
ab1f0c
 	case ptbq_decode: {
ab1f0c
 		struct pt_insn_ext iext;