From b7a46f22999ed5e1f6757b803bcab683575afb5a Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 20 Apr 2018 00:04:25 +0300 Subject: [PATCH] eval/typval: Remove struct dictitem_S which is not used anywhere --- src/nvim/eval/typval.h | 9 --------- 1 file changed, 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. */ \