diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-08 12:27:13 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-10 21:54:05 -0400 |
commit | f81619aafefc1e50b1121cc1c12577407a6eafff (patch) | |
tree | d90dd576e0f81bcd697d681561ab3a547660940d /src | |
parent | 4a6ab3494a93313841b7b701de4038519fabb0c9 (diff) | |
download | rneovim-f81619aafefc1e50b1121cc1c12577407a6eafff.tar.gz rneovim-f81619aafefc1e50b1121cc1c12577407a6eafff.tar.bz2 rneovim-f81619aafefc1e50b1121cc1c12577407a6eafff.zip |
regexp: assert nonnull pointer for regnext()
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/regexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 06b99d0b75..37d71699dd 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -5522,6 +5522,7 @@ do_class: * there is an error. */ static char_u *regnext(char_u *p) + FUNC_ATTR_NONNULL_ALL { int offset; |