aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-08 12:27:13 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-10 21:54:05 -0400
commitf81619aafefc1e50b1121cc1c12577407a6eafff (patch)
treed90dd576e0f81bcd697d681561ab3a547660940d /src
parent4a6ab3494a93313841b7b701de4038519fabb0c9 (diff)
downloadrneovim-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.c1
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;