diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:02:28 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:02:50 +0300 |
commit | fb0c35105f96a9fc401a00667f899560793ba417 (patch) | |
tree | 766efa02f399dc6c8f9e0dc553412783c0de6dbb | |
parent | f45df710816a94990d77a14ee07744a88aa762d7 (diff) | |
download | rneovim-fb0c35105f96a9fc401a00667f899560793ba417.tar.gz rneovim-fb0c35105f96a9fc401a00667f899560793ba417.tar.bz2 rneovim-fb0c35105f96a9fc401a00667f899560793ba417.zip |
spellfile: Silence PVS/V547: expression may be true on other systems
-rw-r--r-- | src/nvim/spellfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index afedde96ac..0eca7bbdf8 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -1644,7 +1644,7 @@ spell_read_tree ( if (len < 0) { return SP_TRUNCERROR; } - if ((size_t)len >= SIZE_MAX / sizeof(int)) { + if ((size_t)len >= SIZE_MAX / sizeof(int)) { // -V547 // Invalid length, multiply with sizeof(int) would overflow. return SP_FORMERROR; } |