commit 04a6369da530232eda4f5daa2addac8eb16eb126
parent c57af5d41cd039194dbd9c6fb5b68b377d2a5b59
Author: Mark Naughton <42555851+Naught00@users.noreply.github.com>
Date: Fri, 24 Feb 2023 11:05:39 +0000
refactor(PVS/V581): merge identical if statements (#22390)
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c
@@ -1045,9 +1045,6 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange,
|| wp->w_p_lcs_chars.nbsp) {
extra_check = true;
}
- }
-
- if (wp->w_p_list && !has_fold && !end_fill) {
trailcol = get_trailcol(wp, ptr, line);
leadcol = get_leadcol(wp, ptr, line);
}