patch 8.2.3956: duplicate assignment

Problem:    Duplicate assignment.
Solution:   Remove the second assignment. (closes #9442)
This commit is contained in:
zeertzjq
2021-12-31 15:21:53 +00:00
committed by Bram Moolenaar
parent eb822a280c
commit 4b1478093e
2 changed files with 2 additions and 1 deletions

View File

@ -4847,7 +4847,6 @@ f_getregtype(typval_T *argvars, typval_T *rettv)
sprintf((char *)buf + 1, "%ld", reglen + 1);
break;
}
rettv->v_type = VAR_STRING;
rettv->vval.v_string = vim_strsave(buf);
}

View File

@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3956,
/**/
3955,
/**/