To: vim_dev@googlegroups.com Subject: Patch 8.2.3956 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///