Patch 9.0.1210 (after 9.0.1208)
Problem:    Compiler complains about declaration after label.
Solution:   Move declaration to beginning of block (John Marriott)
Files:      src/os_mswin.c


*** ../vim-9.0.1209/src/os_mswin.c      2023-01-16 18:19:01.911301085 +0000
--- src/os_mswin.c      2023-01-16 19:49:31.270809534 +0000
***************
*** 1389,1394 ****
--- 1389,1395 ----
      DEVMODEW          *mem;
      DEVNAMES          *devname;
      int                       i;
+     DWORD             err;
  
      bUserAbort = &(psettings->user_abort);
      CLEAR_FIELD(prt_dlg);
***************
*** 1571,1578 ****
      return TRUE;
  
  init_fail_dlg:
!     DWORD err = CommDlgExtendedError();
! 
      if (err)
      {
        char_u *buf;
--- 1572,1578 ----
      return TRUE;
  
  init_fail_dlg:
!     err = CommDlgExtendedError();
      if (err)
      {
        char_u *buf;
*** ../vim-9.0.1209/src/version.c       2023-01-16 19:43:43.394873676 +0000
--- src/version.c       2023-01-16 19:50:37.266799504 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1210,
  /**/

-- 
10 Monologs = 5 Dialogs

 /// 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/20230116195248.C44A81C091A%40moolenaar.net.

Raspunde prin e-mail lui