pvs/V560: A part of conditional expression is always true

wp->w_p_list is checked earlier in the same composite if condition
This commit is contained in:
Ihor Antonov
2019-07-19 11:06:40 -04:00
parent 91bbd07417
commit f1127a33f1

View File

@@ -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);