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
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

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;