mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	macros: add a dummy statement to allow FALLTHROUGH in an empty case.
This commit is contained in:
		| @@ -169,7 +169,7 @@ | |||||||
|  |  | ||||||
| #if NVIM_HAS_ATTRIBUTE(fallthrough) \ | #if NVIM_HAS_ATTRIBUTE(fallthrough) \ | ||||||
|     && (!defined(__apple_build_version__) || __apple_build_version__ >= 7000000) |     && (!defined(__apple_build_version__) || __apple_build_version__ >= 7000000) | ||||||
| # define FALLTHROUGH __attribute__((fallthrough)) | # define FALLTHROUGH {} __attribute__((fallthrough)) | ||||||
| #else | #else | ||||||
| # define FALLTHROUGH | # define FALLTHROUGH | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Björn Linse
					Björn Linse