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)
This commit is contained in:
@ -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);
|
||||
|
||||
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4435,
|
||||
/**/
|
||||
4434,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user