mirror of
https://github.com/php/php-src.git
synced 2025-01-11 05:24:49 +08:00
initialize errno
This commit is contained in:
parent
d6af95d1a4
commit
4b3197ce2b
@ -784,6 +784,7 @@ static php_iconv_err_t _php_iconv_substr(smart_str *pretval,
|
||||
}
|
||||
|
||||
cd2 = (iconv_t)NULL;
|
||||
errno = 0;
|
||||
|
||||
for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) {
|
||||
size_t prev_in_left;
|
||||
|
Loading…
Reference in New Issue
Block a user