aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-20 00:04:25 +0300
committerZyX <kp-pav@yandex.ru>2018-04-20 00:04:25 +0300
commitb7a46f22999ed5e1f6757b803bcab683575afb5a (patch)
tree45e4dcd292d2aa8b7f1905f82dd61a357843f719
parent8cdaac0d80f7876f750ce8eb147c41b477409974 (diff)
downloadrneovim-b7a46f22999ed5e1f6757b803bcab683575afb5a.tar.gz
rneovim-b7a46f22999ed5e1f6757b803bcab683575afb5a.tar.bz2
rneovim-b7a46f22999ed5e1f6757b803bcab683575afb5a.zip
eval/typval: Remove struct dictitem_S which is not used anywhere
-rw-r--r--src/nvim/eval/typval.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/eval/typval.h b/src/nvim/eval/typval.h
index 60bc7ff375..33e2aa6b61 100644
--- a/src/nvim/eval/typval.h
+++ b/src/nvim/eval/typval.h
@@ -197,15 +197,6 @@ typedef struct {
}, \
}
-// Structure to hold an item of a Dictionary.
-// Also used for a variable.
-// The key is copied into "di_key" to avoid an extra alloc/free for it.
-struct dictitem_S {
- typval_T di_tv; ///< type and value of the variable
- char_u di_flags; ///< flags (only used for variable)
- char_u di_key[1]; ///< key (actually longer!)
-};
-
#define TV_DICTITEM_STRUCT(...) \
struct { \
typval_T di_tv; /* Structure that holds scope dictionary itself. */ \