From 682725c1415f50681877df60257115a966e2a3d4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 May 2019 20:10:37 +0200 Subject: [PATCH] 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. --- src/ex_docmd.c | 3 +++ src/version.c | 2 ++ src/window.c | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c6e00bec5..9f127ec72 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -397,6 +397,9 @@ static void ex_folddo(exarg_T *eap); #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 5573f44e5..f8e1d45de 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1392, /**/ 1391, /**/ diff --git a/src/window.c b/src/window.c index bed3d3fb7..4946a3ad3 100644 --- a/src/window.c +++ b/src/window.c @@ -1363,7 +1363,7 @@ win_init_some(win_T *newp, win_T *oldp) } static int -win_valid_popup(win_T *win) +win_valid_popup(win_T *win UNUSED) { #ifdef FEAT_TEXT_PROP win_T *wp; -- 2.40.0