Patch 8.2.2350
Problem:    Using "void" for no reason.
Solution:   Use "char *".
Files:      src/ex_docmd.c


*** ../vim-8.2.2349/src/ex_docmd.c      2021-01-09 12:09:18.399881402 +0100
--- src/ex_docmd.c      2021-01-14 21:29:21.734140910 +0100
***************
*** 1268,1274 ****
         */
        if (did_throw)
        {
!           void        *p = NULL;
            msglist_T   *messages = NULL, *next;
  
            /*
--- 1268,1274 ----
         */
        if (did_throw)
        {
!           char        *p = NULL;
            msglist_T   *messages = NULL, *next;
  
            /*
***************
*** 1283,1289 ****
                    vim_snprintf((char *)IObuff, IOSIZE,
                            _("E605: Exception not caught: %s"),
                            current_exception->value);
!                   p = vim_strsave(IObuff);
                    break;
                case ET_ERROR:
                    messages = current_exception->messages;
--- 1283,1289 ----
                    vim_snprintf((char *)IObuff, IOSIZE,
                            _("E605: Exception not caught: %s"),
                            current_exception->value);
!                   p = (char *)vim_strsave(IObuff);
                    break;
                case ET_ERROR:
                    messages = current_exception->messages;
*** ../vim-8.2.2349/src/version.c       2021-01-14 20:35:46.254002151 +0100
--- src/version.c       2021-01-14 21:40:00.780623622 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2350,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
147. You finally give up smoking...because it made the monitor dirty.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202101142040.10EKenwj1684681%40masaka.moolenaar.net.

Raspunde prin e-mail lui