aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 38dc7c1034..dc7737e4ce 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -17060,18 +17060,6 @@ long get_vim_var_nr(int idx) FUNC_ATTR_PURE
return vimvars[idx].vv_nr;
}
-/// Get typval_T representing v: variable
-///
-/// @warning if v: variable has reference counter it is not increased.
-///
-/// @param[in] idx Variable index, @see VimVarIndex.
-typval_T get_vim_var_tv(VimVarIndex idx) FUNC_ATTR_PURE
-{
- typval_T ret = vimvars[idx].vv_di.di_tv;
- ret.v_lock = VAR_UNLOCKED;
- return ret;
-}
-
/*
* Get string v: variable value. Uses a static buffer, can only be used once.
*/