regexp: assert nonnull pointer for regnext()

This commit is contained in:
Jan Edmund Lazo
2019-09-08 12:27:13 -04:00
parent 4a6ab3494a
commit f81619aafe

View File

@@ -5522,6 +5522,7 @@ do_class:
* there is an error.
*/
static char_u *regnext(char_u *p)
FUNC_ATTR_NONNULL_ALL
{
int offset;