diff options
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 8390bd79fe..6f10e9a313 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -161,7 +161,7 @@ PHPAPI char *php_strerror(int errnum); # define php_mb_reset() memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))) #else # define php_mblen(ptr, len) mblen(ptr, len) -# define php_mb_reset() mblen(NULL, 0) +# define php_mb_reset() php_ignore_value(mblen(NULL, 0)) #endif void register_string_constants(INIT_FUNC_ARGS); |