aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-08-26 07:13:27 -0400
committerGitHub <noreply@github.com>2020-08-26 07:13:27 -0400
commit91109ffda23d0ce61cec245b1f4ffb99e7591b62 (patch)
tree2268ae922351378e01a607d09d1b98ec1a04c2fd /src/nvim/spellfile.c
parent43202964f39eed4e28fd8ad6ad0ec79a1868c33f (diff)
parent1f84ea061dc111ec1a99c8cb24fcbf00578efdbd (diff)
downloadrneovim-91109ffda23d0ce61cec245b1f4ffb99e7591b62.tar.gz
rneovim-91109ffda23d0ce61cec245b1f4ffb99e7591b62.tar.bz2
rneovim-91109ffda23d0ce61cec245b1f4ffb99e7591b62.zip
Merge pull request #12510 from jamessan/clang-implicit-fallthrough
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r--src/nvim/spellfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index 6b9348e55d..a7d26e2a8e 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -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;