From d9398982ea1688979cb1fbc0c33ef63605aa3b9f Mon Sep 17 00:00:00 2001 From: ZyX Date: Sat, 20 May 2017 04:37:30 +0300 Subject: spellfile: Fix V547: always true condition This condition was already checked at the surrounding if() at line 2422. --- src/nvim/spellfile.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit