diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-16 20:47:06 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-16 20:47:06 +0300 |
commit | 2394c9f2b79e5c9c121c21dcb324f9c18b473853 (patch) | |
tree | 5eae371d184fffe4c3fa6fdd6609081c42010b37 | |
parent | 0f7c260cd873c996da9badb42b9135cd15bee285 (diff) | |
download | rneovim-2394c9f2b79e5c9c121c21dcb324f9c18b473853.tar.gz rneovim-2394c9f2b79e5c9c121c21dcb324f9c18b473853.tar.bz2 rneovim-2394c9f2b79e5c9c121c21dcb324f9c18b473853.zip |
memline: Silence “buffer underflow” warning, looks like false positive
-rw-r--r-- | src/nvim/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 5ea2397db3..45e16554e6 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -616,7 +616,7 @@ static bool ml_check_b0_strings(ZERO_BL *b0p) return (memchr(b0p->b0_version, NUL, 10) && memchr(b0p->b0_uname, NUL, B0_UNAME_SIZE) && memchr(b0p->b0_hname, NUL, B0_HNAME_SIZE) - && memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT)); + && memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT)); // -V512 } /* |