patch 8.2.4435: dead code in checking map() arguments
Problem: Dead code in checking map() arguments. (Dominique Pellé)
Solution: Remove the first return statement. (closes #9815)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index cb038e4..38a7aa2 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -588,7 +588,6 @@
? &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);
diff --git a/src/version.c b/src/version.c
index 6d75667..9e21411 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4435,
+/**/
4434,
/**/
4433,