Dmitry V. Levin
0b03de74bc
* gcc_compat.h (ATTRIBUTE_FALLTHROUGH): New macro. * block.c (block_ioctl): Use it instead of "fall through" comment. * btrfs.c (btrfs_ioctl): Likewise. * loop.c (loop_ioctl): Likewise. * mtd.c (mtd_ioctl): Likewise. * rtc.c (rtc_ioctl): Likewise. * v4l2.c (v4l2_ioctl): Likewise. * dm.c (dm_decode_values): Likewise. * process.c (SYS_FUNC(ptrace)): Likewise. * quota.c (decode_cmd_data): Likewise. * ucopy.c (umovestr): Likewise. * unwind.c (unwind_print_stacktrace, unwind_capture_stacktrace)): Likewise. * term.c (term_ioctl): Add ATTRIBUTE_FALLTHROUGH. * ioctl.c (ioctl_decode) [ALPHA || POWERPC]: Likewise. * m4/st_warn_cflags.m4 (gl_WARN_ADD): Add -Wimplicit-fallthrough=5. * tests/ioctl_v4l2.c (init_v4l2_format): Reorganize the switch statement without implicit fallthrough. |
||
---|---|---|
.. | ||
ax_code_coverage.m4 | ||
ax_prog_cc_for_build.m4 | ||
ax_valgrind_check.m4 | ||
mpers.m4 | ||
st_save_restore_var.m4 | ||
st_warn_cflags.m4 | ||
warnings.m4 |