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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211231152226.075FB1C0CF0%40moolenaar.net.

Raspunde prin e-mail lui