mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 03:08:27 +00:00
vim-patch:8.1.1032: warnings from clang static analyzer
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2c519cf3bf
This commit is contained in:
@@ -3883,8 +3883,8 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
|
||||
/* check if line ends before left margin */
|
||||
if (vcol < v + col - win_col_off(wp))
|
||||
vcol = v + col - win_col_off(wp);
|
||||
/* Get rid of the boguscols now, we want to draw until the right
|
||||
* edge for 'cursorcolumn'. */
|
||||
// Get rid of the boguscols now, we want to draw until the right
|
||||
// edge for 'cursorcolumn'.
|
||||
col -= boguscols;
|
||||
// boguscols = 0; // Disabled because value never read after this
|
||||
|
||||
|
Reference in New Issue
Block a user