patch 8.2.3956: duplicate assignment
Problem: Duplicate assignment. Solution: Remove the second assignment. (closes #9442)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3956,
|
||||
/**/
|
||||
3955,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user