From: Bram Moolenaar Date: Mon, 25 Jul 2022 17:35:15 +0000 (+0100) Subject: patch 9.0.0068: build fails with tiny features X-Git-Tag: v9.0.0068 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe3fb6e1e6c90e9bada05518a13a72b3fc2f6a98;p=vim patch 9.0.0068: build fails with tiny features Problem: Build fails with tiny features. Solution: Add #ifdef. --- diff --git a/src/charset.c b/src/charset.c index 2df64c990..8c6ac1c2f 100644 --- a/src/charset.c +++ b/src/charset.c @@ -960,10 +960,12 @@ init_chartabsize_arg( * Free any allocated item in "cts". */ void -clear_chartabsize_arg(chartabsize_T *cts) +clear_chartabsize_arg(chartabsize_T *cts UNUSED) { +#ifdef FEAT_PROP_POPUP if (cts->cts_text_prop_count > 0) vim_free(cts->cts_text_props); +#endif } /* @@ -1023,7 +1025,9 @@ win_lbr_chartabsize( int *headp UNUSED) { win_T *wp = cts->cts_win; +#ifdef FEAT_PROP_POPUP char_u *line = cts->cts_line; // start of the line +#endif char_u *s = cts->cts_ptr; colnr_T vcol = cts->cts_vcol; #ifdef FEAT_LINEBREAK diff --git a/src/version.c b/src/version.c index ff2a8ae48..04e01007c 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 68, /**/ 67, /**/