Patch 8.2.3956

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 31, 2021, 10:22:30 AM12/31/21
to vim...@googlegroups.com

Patch 8.2.3956
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes #9442)
Files: src/evalfunc.c


*** ../vim-8.2.3955/src/evalfunc.c 2021-12-27 12:29:14.534581867 +0000
--- src/evalfunc.c 2021-12-31 15:19:35.117441453 +0000
***************
*** 4847,4853 ****
sprintf((char *)buf + 1, "%ld", reglen + 1);
break;
}
- rettv->v_type = VAR_STRING;
rettv->vval.v_string = vim_strsave(buf);
}

--- 4847,4852 ----
*** ../vim-8.2.3955/src/version.c 2021-12-31 15:09:23.334140877 +0000
--- src/version.c 2021-12-31 15:20:36.453366838 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3956,
/**/

--
"The question of whether computers can think is just like the question
of whether submarines can swim." -- Edsger W. Dijkstra

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages