mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #14775 from bfredl/gcc11
macros: add a dummy statement to allow FALLTHROUGH in an empty case.
This commit is contained in:
commit
74140e7642
@ -169,7 +169,7 @@
|
||||
|
||||
#if NVIM_HAS_ATTRIBUTE(fallthrough) \
|
||||
&& (!defined(__apple_build_version__) || __apple_build_version__ >= 7000000)
|
||||
# define FALLTHROUGH __attribute__((fallthrough))
|
||||
# define FALLTHROUGH {} __attribute__((fallthrough))
|
||||
#else
|
||||
# define FALLTHROUGH
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user