patch 8.1.1392: build failure in tiny version
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index c6e00be..9f127ec 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -397,6 +397,9 @@
#if !defined(FEAT_X11) || !defined(FEAT_XCLIPBOARD)
# define ex_xrestore ex_ni
#endif
+#if !defined(FEAT_TEXT_PROP)
+# define ex_popupclear ex_ni
+#endif
/*
* Declare cmdnames[].
diff --git a/src/version.c b/src/version.c
index 5573f44..f8e1d45 100644
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1392,
+/**/
1391,
/**/
1390,
diff --git a/src/window.c b/src/window.c
index bed3d3f..4946a3a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1363,7 +1363,7 @@
}
static int
-win_valid_popup(win_T *win)
+win_valid_popup(win_T *win UNUSED)
{
#ifdef FEAT_TEXT_PROP
win_T *wp;