Add missing null initialization

This commit is contained in:
Nikita Popov 2018-10-29 20:57:21 +01:00
parent 837843ff4a
commit 6da3eac56a

View file

@ -2732,7 +2732,7 @@ PHP_FUNCTION(mb_substr_count)
PHP_FUNCTION(mb_substr)
{
char *str;
zend_string *encoding;
zend_string *encoding = NULL;
zend_long from, len;
size_t mblen, real_from, real_len;
size_t str_len;