aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-22 20:35:17 +0300
committerZyX <kp-pav@yandex.ru>2018-04-22 20:35:17 +0300
commita37819dbb1d56d002726345b84febc576b80c9f4 (patch)
treede62e26e89fef55743f3caee85f68a596e6108e1
parent953d167015c3346e36d8be0b181a07123af883ce (diff)
downloadrneovim-a37819dbb1d56d002726345b84febc576b80c9f4.tar.gz
rneovim-a37819dbb1d56d002726345b84febc576b80c9f4.tar.bz2
rneovim-a37819dbb1d56d002726345b84febc576b80c9f4.zip
spellfile: Fix clint error
-rw-r--r--src/nvim/spellfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index 4e26bfa6f8..dab9a2aacd 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -2837,9 +2837,9 @@ static void process_compflags(spellinfo_T *spin, afffile_T *aff, char_u *compfla
// the existing ID. Otherwise add a new entry.
STRLCPY(key, prevp, p - prevp + 1);
hi = hash_find(&aff->af_comp, key);
- if (!HASHITEM_EMPTY(hi))
+ if (!HASHITEM_EMPTY(hi)) {
id = HI2CI(hi)->ci_newID;
- else {
+ } else {
ci = getroom(spin, sizeof(compitem_T), true);
STRCPY(ci->ci_key, key);
ci->ci_flag = flag;