1
0
forked from aniani/vim

patch 9.0.0068: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2022-07-25 18:35:15 +01:00
parent 7f9969c559
commit fe3fb6e1e6
2 changed files with 7 additions and 1 deletions

View 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