From d084628c4b0cf8644424f40ea578a1e705c771df Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 15 Apr 2018 20:14:55 +0300 Subject: kvec: Silence PVS/V512: it is not needed to fill the whole array --- src/nvim/lib/kvec.h | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit