diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-12-31 15:21:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-31 15:21:53 +0000 |
commit | 4b1478093eb8b8bebc94b1f596e0afc25db4d189 (patch) | |
tree | 5a20a52f490a80f7378ebe20caadeecb9b4a3e7f /src | |
parent | eb822a280cf4706f7e67319ced1cdf3243b27e20 (diff) |
patch 8.2.3956: duplicate assignmentv8.2.3956
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes #9442)
Diffstat (limited to 'src')
-rw-r--r-- | src/evalfunc.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index f3105200fd..b9310c1933 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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); } diff --git a/src/version.c b/src/version.c index 8505282d73..d623c586ae 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3956, +/**/ 3955, /**/ 3954, |