From f81619aafefc1e50b1121cc1c12577407a6eafff Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 8 Sep 2019 12:27:13 -0400 Subject: regexp: assert nonnull pointer for regnext() --- src/nvim/regexp.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit