summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Marriott <basilisk@internode.on.net>2024-01-17 20:16:05 +0100
committerChristian Brabandt <cb@256bit.org>2024-01-17 20:19:10 +0100
commit73e16c740676e11176685ba5490eff202dc8d938 (patch)
treef2741eb02b91ea04763ac76f31a1e72145b2af78 /src
parent211211052d0426394cbd5f42f3f3f78a64822e2a (diff)
patch 9.1.0036: MS-Windows: Warning about unused variablev9.1.0036
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 <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 08afa04587..44d7443dd1 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, "\033[%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 1263ee8cd0..bcc43f2068 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 36,
+/**/
35,
/**/
34,