summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-11 12:34:18 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-11 12:35:24 +0200
commita61d24e4d8350b9bd749ca74bdaed422c6caa830 (patch)
tree6e0b9cd24c072926ab1ed1d98a9e4a204e387a03 /ext/mbstring/php_mbregex.c
parentce72bc6b658c335dd37393d0beb28584e6805e97 (diff)
downloadphp-git-a61d24e4d8350b9bd749ca74bdaed422c6caa830.tar.gz
Avoid onig match param unused variable warning
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r--ext/mbstring/php_mbregex.c2
1 files changed, 1 insertions, 1 deletions
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) \