• Andrei Borzenkov's avatar
    i386, x86_64, ppc: fix switch fallthrough cases with GCC7 · 4bd4a887
    Andrei Borzenkov authored
    In util/getroot and efidisk slightly modify exitsing comment to mostly
    retain it but still make GCC7 compliant with respect to fall through
    In grub-core/lib/xzembed/xz_dec_lzma2.c it adds same comments as
    In grub-core/tests/setjmp_tets.c declare functions as "noreturn" to
    suppress GCC7 warning.
    In grub-core/gnulib/regexec.c use new __attribute__, because existing
    annotation is not recognized by GCC7 parser (which requires that comment
    immediately precedes case statement).
    Otherwise add FALLTHROUGH comment.
    Closes: 50598
grub-mkimagexx.c 65.3 KB