diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-12-19 22:56:54 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-12-30 21:53:18 +0100 |
commit | 7e9aaf1e0f5420a8cfcc13f8bd2735bd7eb2d76a (patch) | |
tree | fc8256892ef3ee2e9c90219d2b7214d4a09746c7 /src | |
parent | 67bb01ae27db3cbba9e2e908c4e6612040f650aa (diff) | |
download | rneovim-7e9aaf1e0f5420a8cfcc13f8bd2735bd7eb2d76a.tar.gz rneovim-7e9aaf1e0f5420a8cfcc13f8bd2735bd7eb2d76a.tar.bz2 rneovim-7e9aaf1e0f5420a8cfcc13f8bd2735bd7eb2d76a.zip |
refactor: remove unused macros
Closes #13505
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval/typval.c | 2 | ||||
-rw-r--r-- | src/nvim/map.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index 11bbaaed9c..42ac1839e6 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -2455,13 +2455,11 @@ static inline void _nothing_conv_dict_end(typval_T *const tv, dict_T **const dic #define TYPVAL_ENCODE_NAME nothing #define TYPVAL_ENCODE_FIRST_ARG_TYPE const void *const #define TYPVAL_ENCODE_FIRST_ARG_NAME ignored -#define TYPVAL_ENCODE_TRANSLATE_OBJECT_NAME #include "nvim/eval/typval_encode.c.h" #undef TYPVAL_ENCODE_SCOPE #undef TYPVAL_ENCODE_NAME #undef TYPVAL_ENCODE_FIRST_ARG_TYPE #undef TYPVAL_ENCODE_FIRST_ARG_NAME -#undef TYPVAL_ENCODE_TRANSLATE_OBJECT_NAME #undef TYPVAL_ENCODE_ALLOW_SPECIALS #undef TYPVAL_ENCODE_CONV_NIL diff --git a/src/nvim/map.c b/src/nvim/map.c index 1d9abe3ef2..c77433df71 100644 --- a/src/nvim/map.c +++ b/src/nvim/map.c @@ -29,8 +29,6 @@ #define uint32_t_eq kh_int_hash_equal #define int_hash kh_int_hash_func #define int_eq kh_int_hash_equal -#define linenr_T_hash kh_int_hash_func -#define linenr_T_eq kh_int_hash_equal #define handle_T_hash kh_int_hash_func #define handle_T_eq kh_int_hash_equal |