ieee1275: split up grub_machine_get_bootlocation
[grub.git] / grub-core / gnulib-fix-gcc7-fallthrough.diff
1 diff --git grub-core/gnulib/regexec.c grub-core/gnulib/regexec.c
2 index f632cd4..a7776f0 100644
3 --- grub-core/gnulib/regexec.c
4 +++ grub-core/gnulib/regexec.c
5 @@ -4099,6 +4099,9 @@ check_node_accept (const re_match_context_t *mctx, const re_token_t *node,
6      case OP_UTF8_PERIOD:
7        if (ch >= ASCII_CHARS)
8          return false;
9 +#if defined __GNUC__ && __GNUC__ >= 7
10 +      __attribute__ ((fallthrough));
11 +#endif
12        /* FALLTHROUGH */
13  #endif
14      case OP_PERIOD: