aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mouse.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-13 17:10:46 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-13 17:53:26 +0100
commitddd4ed3ce57027eeee72041e98f7bf576b01a370 (patch)
treefcf4520154f7ad65d61ee0d7b45e594d4cc276bd /src/nvim/mouse.c
parent94fc3e01828a4f021dcb2ce9a31edabf2770cec4 (diff)
downloadrneovim-ddd4ed3ce57027eeee72041e98f7bf576b01a370.tar.gz
rneovim-ddd4ed3ce57027eeee72041e98f7bf576b01a370.tar.bz2
rneovim-ddd4ed3ce57027eeee72041e98f7bf576b01a370.zip
clang/"Dead assignment"
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.