From f1127a33f103524d5f8859026cb56e59872fceb1 Mon Sep 17 00:00:00 2001 From: Ihor Antonov Date: Fri, 19 Jul 2019 11:06:40 -0400 Subject: pvs/V560: A part of conditional expression is always true wp->w_p_list is checked earlier in the same composite if condition --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index ec73c670e6..401e56c137 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -4031,7 +4031,7 @@ win_line ( && filler_todo <= 0 && (wp->w_p_rl ? col == 0 : col == grid->Columns - 1) && (*ptr != NUL - || (wp->w_p_list && lcs_eol_one > 0) + || lcs_eol_one > 0 || (n_extra && (c_extra != NUL || *p_extra != NUL)))) { c = wp->w_p_lcs_chars.ext; char_attr = win_hl_attr(wp, HLF_AT); -- cgit