Patch 9.0.1088 (after 9.0.1086)
Problem:    Clang warns for unused variable.
Solution:   Adjust #ifdef. (John Marriott)
Files:      src/os_win32.c


*** ../vim-9.0.1087/src/os_win32.c      2022-12-22 13:44:15.823672301 +0000
--- src/os_win32.c      2022-12-22 21:02:31.859514192 +0000
***************
*** 257,263 ****
--- 257,265 ----
  
  static BOOL win8_or_later = FALSE;
  static BOOL win10_22H2_or_later = FALSE;
+ #if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL)
  static BOOL use_alternate_screen_buffer = FALSE;
+ #endif
  
  /*
   * Get version number including build number
***************
*** 8395,8401 ****
      }
  # endif
      use_alternate_screen_buffer = win10_22H2_or_later && p_rs && vtp_working
!                                               && !mch_getenv("VIM_TERMINAL");
      set_console_color_rgb();
  }
  
--- 8397,8403 ----
      }
  # endif
      use_alternate_screen_buffer = win10_22H2_or_later && p_rs && vtp_working
!                                               && !mch_getenv("VIM_TERMINAL");
      set_console_color_rgb();
  }
  
*** ../vim-9.0.1087/src/version.c       2022-12-22 18:30:15.085259596 +0000
--- src/version.c       2022-12-22 21:05:54.279360385 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1088,
  /**/

-- 
No letters of the alphabet were harmed in the creation of this message.

 /// 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/20221222210823.58F4E1C0AA4%40moolenaar.net.

Raspunde prin e-mail lui