From 618e675b5d1cb2099464a198a568a129616164b0 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 6 May 2022 21:20:44 +0200 Subject: Silence a compiler warning --- src/sp_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 6161859..df2f0d6 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -448,6 +448,7 @@ void unhook_functions(HashTable *ht) { if (func && func->type == ZEND_INTERNAL_FUNCTION && orig_handler) { func->internal_function.handler = orig_handler; } + (void)idx;//silence a -Wunused-but-set-variable ZEND_HASH_FOREACH_END_DEL(); } -- cgit v1.3