diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-15 20:14:55 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-15 20:14:55 +0300 |
commit | d084628c4b0cf8644424f40ea578a1e705c771df (patch) | |
tree | 081a6b48a8612c7095ffdf96390804bf131db4ce | |
parent | a20261fae7a2118eaeef394877777cca4aa4d6db (diff) | |
download | rneovim-d084628c4b0cf8644424f40ea578a1e705c771df.tar.gz rneovim-d084628c4b0cf8644424f40ea578a1e705c771df.tar.bz2 rneovim-d084628c4b0cf8644424f40ea578a1e705c771df.zip |
kvec: Silence PVS/V512: it is not needed to fill the whole array
-rw-r--r-- | src/nvim/lib/kvec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/lib/kvec.h b/src/nvim/lib/kvec.h index ad56c9237b..6d54c7f78d 100644 --- a/src/nvim/lib/kvec.h +++ b/src/nvim/lib/kvec.h @@ -142,6 +142,8 @@ static inline void *_memcpy_free(void *const restrict dest, return dest; } +// -V:kvi_push:512 + /// Resize vector with preallocated array /// /// @note May not resize to an array smaller then init_array: if requested, |