mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor(PVS/V581): merge identical if statements (#22390)
This commit is contained in:
parent
c57af5d41c
commit
04a6369da5
@ -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) {
|
|| wp->w_p_lcs_chars.nbsp) {
|
||||||
extra_check = true;
|
extra_check = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (wp->w_p_list && !has_fold && !end_fill) {
|
|
||||||
trailcol = get_trailcol(wp, ptr, line);
|
trailcol = get_trailcol(wp, ptr, line);
|
||||||
leadcol = get_leadcol(wp, ptr, line);
|
leadcol = get_leadcol(wp, ptr, line);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user