aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mouse.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-13 23:09:59 +0100
committerGitHub <noreply@github.com>2019-01-13 23:09:59 +0100
commita3d8cd3f69807d70d00eb58d4a654dde8ecda0e3 (patch)
treebbd5c9b9c1e873099cd8f222707d680fd850721a /src/nvim/mouse.c
parent61ec31cde1373033179985f737b55e05cc1a2df7 (diff)
parent4cba75dab08ce718ff3e7500ca943789c1099c4e (diff)
downloadrneovim-a3d8cd3f69807d70d00eb58d4a654dde8ecda0e3.tar.gz
rneovim-a3d8cd3f69807d70d00eb58d4a654dde8ecda0e3.tar.bz2
rneovim-a3d8cd3f69807d70d00eb58d4a654dde8ecda0e3.zip
Merge #9471 from justinmk/pvs-warnings
Diffstat (limited to 'src/nvim/mouse.c')
-rw-r--r--src/nvim/mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c
index bf71e6a479..887cbde921 100644
--- a/src/nvim/mouse.c
+++ b/src/nvim/mouse.c
@@ -641,7 +641,7 @@ static int mouse_adjust_click(win_T *wp, int row, int col)
linenr_T lnum = wp->w_cursor.lnum;
char_u *line = ml_get(lnum);
char_u *ptr = line;
- char_u *ptr_end = line;
+ char_u *ptr_end;
char_u *ptr_row_offset = line; // Where we begin adjusting `ptr_end`
// Find the offset where scanning should begin.