1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
NIIBE Yutaka 99c17b970b gpgscm: Suppress warnings for GCC > 6.
* tests/gpgscm/scheme.c (CASE): Use unused attribute for GCC > 6.
(FALLTHROUGH): New for fallthrough.
(Eval_Cycle): Use FALLTHROUGH.  Remove not-needed comment of
fallthrough.

--

Since GCC combines C preprocessor macro expansion, the fallthrough
comment doesn't work well to suppress warnings for
-Wimplicit-fallthrough, near the macro CASE.  To handle this
problem, we use GCC's extension of unused label and fallthrough
attributes.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2018-09-06 14:53:35 +09:00
..
2017-04-24 14:28:57 +02:00
2017-05-11 17:41:03 +02:00
2017-05-11 17:41:03 +02:00
2016-09-17 16:00:37 +09:00
2017-04-10 14:57:30 +02:00
2017-07-14 12:57:41 +02:00
2017-04-10 14:57:35 +02:00
2017-04-12 12:05:53 +09:00
2017-04-24 15:47:29 +02:00
2017-04-24 14:28:57 +02:00