patch 9.1.0036: MS-Windows: Warning about unused variable
Commit:
https://github.com/vim/vim/commit/73e16c740676e11176685ba5490eff202dc8d938
Author: John Marriott <[email protected]>
Date: Wed Jan 17 20:16:05 2024 +0100
patch 9.1.0036: MS-Windows: Warning about unused variable
Problem: MS-Windows: Warning about unused variable
(after 9.1.0030, John Marriott)
Solution: Adjust #ifdef and test for HAVE_TGETENT
(John Marriott)
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 08afa0458..44d7443dd 100644
--- a/src/term.c
+++ b/src/term.c
@@ -637,11 +637,13 @@ static tcap_entry_T builtin_rgb[] = {
};
#endif
+#ifdef HAVE_TGETENT
static tcap_entry_T special_term[] = {
// These are printf strings, not terminal codes.
{(int)KS_CF, " [%dm"},
{(int)KS_NAME, NULL} // end marker
};
+#endif
/*
* iris-ansi for Silicon Graphics machines.
diff --git a/src/version.c b/src/version.c
index 1263ee8cd..bcc43f206 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 36,
/**/
35,
/**/
--
--
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/E1rQBc0-00HBej-7Z%40256bit.org.