diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-21 18:34:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-21 18:34:30 +0000 |
commit | 7842761bbaa7965fa52b5e3eadf162bc7fa6cdb1 (patch) | |
tree | cf66d0b730933f3c4b0d06dbb8e8e191bd0da11a /src/evalfunc.c | |
parent | 16b51d26fe2cc3afb09afd439069220dea74581d (diff) | |
download | vim-git-7842761bbaa7965fa52b5e3eadf162bc7fa6cdb1.tar.gz |
patch 8.2.4435: dead code in checking map() argumentsv8.2.4435
Problem: Dead code in checking map() arguments. (Dominique Pellé)
Solution: Remove the first return statement. (closes #9815)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index cb038e4c8..38a7aa27c 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -588,7 +588,6 @@ arg_map_func(type_T *type, type_T *decl_type UNUSED, argcontext_T *context) ? &t_any : expected_ret; if (args[0] == NULL) args[0] = &t_unknown; - return check_arg_type(&t_func_exp, type, context); where.wt_index = 2; return check_type(&t_func_exp, type, TRUE, where); |