From 07b67f9eff56ff741484109e4dcea42020c5f750 Mon Sep 17 00:00:00 2001 From: ZyX Date: Tue, 10 Apr 2018 01:01:16 +0300 Subject: eval: Fix PVS/V547: ufunc_T is actually an incomplete type --- src/nvim/eval/typval.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/nvim/eval') diff --git a/src/nvim/eval/typval.h b/src/nvim/eval/typval.h index 2272a580d6..60bc7ff375 100644 --- a/src/nvim/eval/typval.h +++ b/src/nvim/eval/typval.h @@ -286,9 +286,8 @@ struct ufunc { ///< used for s: variables int uf_refcount; ///< reference count, see func_name_refcount() funccall_T *uf_scoped; ///< l: local variables for closure - char_u uf_name[1]; ///< name of function (actually longer); can - ///< start with 123_ ( is K_SPECIAL - ///< KS_EXTRA KE_SNR) + char_u uf_name[]; ///< Name of function; can start with 123_ + ///< ( is K_SPECIAL KS_EXTRA KE_SNR) }; /// Maximum number of function arguments -- cgit