From 208257eec56533bf470044eb0595202bd1541462 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 16 Jul 2015 22:39:11 +0200 Subject: Explicitly ignore mblen(NULL, 0) retval --- ext/standard/php_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/php_string.h') 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); -- cgit v1.2.1