refactor: fix clang and PVS warnings (#19532)

This commit is contained in:
zeertzjq
2022-07-28 06:05:33 +08:00
committed by GitHub
parent 7d9e68669c
commit e0c433833f
9 changed files with 12 additions and 9 deletions

View File

@@ -2119,7 +2119,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool noc
bool has_decor = false; // this buffer has decoration
int win_col_offset = 0; // offset for window columns
char_u buf_fold[FOLD_TEXT_LEN + 1]; // Hold value returned by get_foldtext
char_u buf_fold[FOLD_TEXT_LEN]; // Hold value returned by get_foldtext
bool area_active = false;