diff options
author | ZyX <kp-pav@yandex.ru> | 2017-05-20 04:37:30 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-05-20 04:47:01 +0300 |
commit | d9398982ea1688979cb1fbc0c33ef63605aa3b9f (patch) | |
tree | c13935d57f40bb5aa9a4f341aa3bc01ba1cffcde | |
parent | c7c4aad38740b71b7e8a72321ce524fb2d07c4ab (diff) | |
download | rneovim-d9398982ea1688979cb1fbc0c33ef63605aa3b9f.tar.gz rneovim-d9398982ea1688979cb1fbc0c33ef63605aa3b9f.tar.bz2 rneovim-d9398982ea1688979cb1fbc0c33ef63605aa3b9f.zip |
spellfile: Fix V547: always true condition
This condition was already checked at the surrounding if() at line 2422.
-rw-r--r-- | src/nvim/spellfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index d34d69b3a4..1f7f616782 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -2468,8 +2468,7 @@ static afffile_T *spell_read_aff(spellinfo_T *spin, char_u *fname) } } - if (aff_entry->ae_chop == NULL - && aff_entry->ae_flags == NULL) { + if (aff_entry->ae_chop == NULL) { int idx; char_u **pp; int n; |