mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +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: {
|
case SP_OTHERERROR: {
|
||||||
emsgf(_("E5042: Failed to read spell file %s: %s"),
|
emsgf(_("E5042: Failed to read spell file %s: %s"),
|
||||||
fname, strerror(ferror(fd)));
|
fname, strerror(ferror(fd)));
|
||||||
|
goto endFAIL;
|
||||||
}
|
}
|
||||||
case 0: {
|
case 0: {
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user