diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-20 19:51:32 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-20 19:51:32 -0400 |
commit | a63b95b315673354df9c42efcff248cacca45669 (patch) | |
tree | 474781d9dd71c62ab9377faa1641321c173f1a85 /src/nvim/move.c | |
parent | 54d9ea61ab2e7ce0d1dfdbf427b6d6702f972d74 (diff) | |
download | rneovim-a63b95b315673354df9c42efcff248cacca45669.tar.gz rneovim-a63b95b315673354df9c42efcff248cacca45669.tar.bz2 rneovim-a63b95b315673354df9c42efcff248cacca45669.zip |
move: assert nonnull wp pointer
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 8e44a0affc..b9c4196251 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -104,6 +104,7 @@ void reset_cursorline(void) // Redraw when w_cline_row changes and 'relativenumber' or 'cursorline' is set. void redraw_for_cursorline(win_T *wp) + FUNC_ATTR_NONNULL_ALL { if ((wp->w_p_rnu || win_cursorline_standout(wp)) && (wp->w_valid & VALID_CROW) == 0 |