aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-dirmngr.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-09-06 05:53:35 +0000
committerNIIBE Yutaka <[email protected]>2018-09-06 05:53:35 +0000
commit99c17b970bc0ca7e0cff7fe031c6f9feb05af3ff (patch)
tree86ca0be79ea76086661684e5bdfe00e293a6a37d /g10/call-dirmngr.c
parentFix use of strncpy, which is actually good to use memcpy. (diff)
downloadgnupg-99c17b970bc0ca7e0cff7fe031c6f9feb05af3ff.tar.gz
gnupg-99c17b970bc0ca7e0cff7fe031c6f9feb05af3ff.zip
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 <[email protected]>
Diffstat (limited to 'g10/call-dirmngr.c')
0 files changed, 0 insertions, 0 deletions