patch 9.2.0163: MS-Windows: Compile warning for unused variable

Commit: 
https://github.com/vim/vim/commit/09af51afbed8c01cdbe6300073b9e8cacc18fcdf
Author: John Marriott <[email protected]>
Date:   Sat Mar 14 17:05:52 2026 +0000

    patch 9.2.0163: MS-Windows: Compile warning for unused variable
    
    Problem:  MS-Windows: Compile warning for unused variable
              (after v9.2.0160)
    Solution: Add ifdef HAVE_TGETENT (John Marriott).
    
    related: #19676
    
    Signed-off-by: John Marriott <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/term.c b/src/term.c
index a5fab44ea..2b9c85480 100644
--- a/src/term.c
+++ b/src/term.c
@@ -675,6 +675,7 @@ static tcap_entry_T builtin_kitty[] = {
     {(int)KS_NAME,     NULL}  // end marker
 };
 
+#ifdef HAVE_TGETENT
 /*
  * Additions for enabling/disabling synchronized output mode for terminal.
  */
@@ -683,6 +684,7 @@ static tcap_entry_T builtin_sync_output[] = {
     {(int)KS_ESU,      " [?2026l"},
     {(int)KS_NAME,     NULL}  // end marker
 };
+#endif
 
 /*
  * List of DECRQM modes that Vim supports
diff --git a/src/version.c b/src/version.c
index 8fcb1f0b0..44ff46374 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    163,
 /**/
     162,
 /**/

-- 
-- 
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 visit 
https://groups.google.com/d/msgid/vim_dev/E1w1T2u-005I8g-Jy%40256bit.org.

Raspunde prin e-mail lui