]> granicus.if.org Git - vim/commitdiff
patch 9.0.0068: build fails with tiny features v9.0.0068
authorBram Moolenaar <Bram@vim.org>
Mon, 25 Jul 2022 17:35:15 +0000 (18:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 25 Jul 2022 17:35:15 +0000 (18:35 +0100)
Problem:    Build fails with tiny features.
Solution:   Add #ifdef.

src/charset.c
src/version.c

index 2df64c9904dd375dc56bb8cad47ea929bb987939..8c6ac1c2f49a5781c0459e987b7990662f60e987 100644 (file)
@@ -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
index ff2a8ae48d97eba5a5a10061bd665cdc94bfcd64..04e01007c67e1453fda016034e9df94332cb4881 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    68,
 /**/
     67,
 /**/