mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
spell_load_file: Add missing "goto endFAIL" if spellfile is not readable
This commit is contained in:
@@ -628,6 +628,7 @@ spell_load_file (
|
||||
case SP_OTHERERROR: {
|
||||
emsgf(_("E5042: Failed to read spell file %s: %s"),
|
||||
fname, strerror(ferror(fd)));
|
||||
goto endFAIL;
|
||||
}
|
||||
case 0: {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user