spell_load_file: Add missing "goto endFAIL" if spellfile is not readable

This commit is contained in:
James McCoy
2020-06-19 22:41:29 -04:00
parent 75813af542
commit 1f84ea061d

View File

@@ -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;