screen: fix pvs/v1048

This commit is contained in:
Jan Edmund Lazo 2019-12-26 21:38:41 -05:00
parent 1d3d84fe81
commit be4165308f
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -2445,8 +2445,6 @@ win_line (
pos.lnum = lnum;
pos.col = search_match_endcol;
getvcol(curwin, &pos, (colnr_T *)&tocol, NULL, NULL);
} else {
tocol = MAXCOL;
}
// do at least one character; happens when past end of line
if (fromcol == tocol) {