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

1 view
Skip to first unread message

Christian Brabandt

unread,
Mar 14, 2026, 1:47:04 PM (9 days ago) Mar 14
to vim...@googlegroups.com
patch 9.2.0163: MS-Windows: Compile warning for unused variable

Commit: https://github.com/vim/vim/commit/09af51afbed8c01cdbe6300073b9e8cacc18fcdf
Author: John Marriott <basi...@internode.on.net>
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 <basi...@internode.on.net>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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,
/**/
Reply all
Reply to author
Forward
0 new messages