diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-12-30 22:20:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 22:20:10 +0100 |
commit | 991e872d800dbd983d57e4768734cefb13503ee7 (patch) | |
tree | 6de882aeed6aeed9461cd20098500b8cbb2aad44 | |
parent | c46f7caad0bef587d189de2310435f48f9bd9ad8 (diff) | |
parent | 7e9aaf1e0f5420a8cfcc13f8bd2735bd7eb2d76a (diff) | |
download | rneovim-991e872d800dbd983d57e4768734cefb13503ee7.tar.gz rneovim-991e872d800dbd983d57e4768734cefb13503ee7.tar.bz2 rneovim-991e872d800dbd983d57e4768734cefb13503ee7.zip |
Merge pull request #16728 from dundargoc/refactor/remove-unused-macros
refactor: remove unused macros
-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 |