patch 8.2.3956: duplicate assignment
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes #9442)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index f310520..b9310c1 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4847,7 +4847,6 @@
sprintf((char *)buf + 1, "%ld", reglen + 1);
break;
}
- rettv->v_type = VAR_STRING;
rettv->vval.v_string = vim_strsave(buf);
}
diff --git a/src/version.c b/src/version.c
index 8505282..d623c58 100644
--- a/src/version.c
+++ b/src/version.c
@@ -750,6 +750,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3956,
+/**/
3955,
/**/
3954,