diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-28 16:35:20 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-28 18:34:01 -0500 |
commit | 26dfeb42dd515ebd0a0f1f1da3aadc11fb993041 (patch) | |
tree | 1215cd7148db1685660ae9571b24f3e752e6f61a /src/nvim/screen.c | |
parent | 0e913a08129b3e0e4d2d81eb424c9481c7aaee1c (diff) | |
download | rneovim-26dfeb42dd515ebd0a0f1f1da3aadc11fb993041.tar.gz rneovim-26dfeb42dd515ebd0a0f1f1da3aadc11fb993041.tar.bz2 rneovim-26dfeb42dd515ebd0a0f1f1da3aadc11fb993041.zip |
vim-patch:8.1.1032: warnings from clang static analyzer
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 07c959b257..3a6d289176 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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 |