diff options
author | ZyX <kp-pav@yandex.ru> | 2017-05-20 04:19:57 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-05-20 04:21:00 +0300 |
commit | 7d895ee05329d520a5d26c3dc7ede10ab9a36d94 (patch) | |
tree | 21a7c4360415856a56ce0805d4e87dda83852d28 /src/nvim/api/vim.c | |
parent | 40444e9186a7d3666930de4abfb4662e603d1f06 (diff) | |
download | rneovim-7d895ee05329d520a5d26c3dc7ede10ab9a36d94.tar.gz rneovim-7d895ee05329d520a5d26c3dc7ede10ab9a36d94.tar.bz2 rneovim-7d895ee05329d520a5d26c3dc7ede10ab9a36d94.zip |
memfile: Fix V547: always true condition
`blocksize` was checked against UINT_MAX after it was checked against
MAX_SWAP_PAGE_SIZE which makes it always pass the check. Better use
STATIC_ASSERT instead.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions