patch 9.0.1173: compiler warning for unused variable on non-Unix systems
Problem: Compiler warning for unused variable on non-Unix systems.
Solution: Move #ifdef. (John Marriott)
diff --git a/src/term.c b/src/term.c
index 43d0db6..0b902c9 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2159,6 +2159,7 @@
init_term_props(FALSE);
#endif
+#if defined(UNIX) || defined(VMS)
// If the first number in t_XM is 1006 then the terminal will support SGR
// mouse reporting.
int did_set_ttym = FALSE;
@@ -2175,7 +2176,6 @@
}
}
-#if defined(UNIX) || defined(VMS)
/*
* For Unix, set the 'ttymouse' option to the type of mouse to be used.
* The termcode for the mouse is added as a side effect in option.c.
diff --git a/src/version.c b/src/version.c
index 6ab7b95..ebe699f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1173,
+/**/
1172,
/**/
1171,