mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
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:
@@ -4031,7 +4031,7 @@ win_line (
|
|||||||
&& filler_todo <= 0
|
&& filler_todo <= 0
|
||||||
&& (wp->w_p_rl ? col == 0 : col == grid->Columns - 1)
|
&& (wp->w_p_rl ? col == 0 : col == grid->Columns - 1)
|
||||||
&& (*ptr != NUL
|
&& (*ptr != NUL
|
||||||
|| (wp->w_p_list && lcs_eol_one > 0)
|
|| lcs_eol_one > 0
|
||||||
|| (n_extra && (c_extra != NUL || *p_extra != NUL)))) {
|
|| (n_extra && (c_extra != NUL || *p_extra != NUL)))) {
|
||||||
c = wp->w_p_lcs_chars.ext;
|
c = wp->w_p_lcs_chars.ext;
|
||||||
char_attr = win_hl_attr(wp, HLF_AT);
|
char_attr = win_hl_attr(wp, HLF_AT);
|
||||||
|
Reference in New Issue
Block a user