From a61d24e4d8350b9bd749ca74bdaed422c6caa830 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 11 Apr 2019 12:34:18 +0200 Subject: Avoid onig match param unused variable warning --- ext/mbstring/php_mbregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mbstring/php_mbregex.c') diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 80a4be96db..47dd41ba05 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -37,7 +37,7 @@ #if ONIGURUMA_VERSION_INT < 60800 typedef void OnigMatchParam; #define onig_new_match_param() (NULL) -#define onig_initialize_match_param(x) +#define onig_initialize_match_param(x) (void)(x) #define onig_set_match_stack_limit_size_of_match_param(x, y) #define onig_free_match_param(x) #define onig_search_with_param(reg, str, end, start, range, region, option, mp) \ -- cgit v1.2.1