aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval.h
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-10 01:01:16 +0300
committerZyX <kp-pav@yandex.ru>2018-04-10 01:51:52 +0300
commit07b67f9eff56ff741484109e4dcea42020c5f750 (patch)
treebb452785ba2c8b93ac1d138207d60ea020fe4f52 /src/nvim/eval/typval.h
parent536d9a61687206318a629701aac984d55411bf35 (diff)
downloadrneovim-07b67f9eff56ff741484109e4dcea42020c5f750.tar.gz
rneovim-07b67f9eff56ff741484109e4dcea42020c5f750.tar.bz2
rneovim-07b67f9eff56ff741484109e4dcea42020c5f750.zip
eval: Fix PVS/V547: ufunc_T is actually an incomplete type
Diffstat (limited to 'src/nvim/eval/typval.h')
-rw-r--r--src/nvim/eval/typval.h5
1 files changed, 2 insertions, 3 deletions
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 <SNR>123_ (<SNR> is K_SPECIAL
- ///< KS_EXTRA KE_SNR)
+ char_u uf_name[]; ///< Name of function; can start with <SNR>123_
+ ///< (<SNR> is K_SPECIAL KS_EXTRA KE_SNR)
};
/// Maximum number of function arguments