]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0163: MS-Windows: Compile warning for unused variable v9.2.0163
authorJohn Marriott <basilisk@internode.on.net>
Sat, 14 Mar 2026 17:05:52 +0000 (17:05 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 14 Mar 2026 17:06:19 +0000 (17:06 +0000)
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 <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/term.c
src/version.c

index a5fab44ea8cf782d319cda466c2fbe86f61bea56..2b9c854801b100f67c5b2f62c7bfef12f3ba1550 100644 (file)
@@ -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,      "\033[?2026l"},
     {(int)KS_NAME,     NULL}  // end marker
 };
+#endif
 
 /*
  * List of DECRQM modes that Vim supports
index 8fcb1f0b0e5b3751b66d9a98d5ee5fa7a7325724..44ff463745ee0a22a37bf2b8ee43e75c96694e67 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    163,
 /**/
     162,
 /**/