summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorjvoisin2022-05-06 21:20:44 +0200
committerjvoisin2022-05-06 21:20:44 +0200
commit618e675b5d1cb2099464a198a568a129616164b0 (patch)
tree2adcebfb0645d0647ba278557fd718c3ecfbde29 /src/sp_utils.c
parentf2655b0339326fc9abfce20687a20a5cd7a9dd25 (diff)
Silence a compiler warning
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c1
1 files changed, 1 insertions, 0 deletions
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) {
448 if (func && func->type == ZEND_INTERNAL_FUNCTION && orig_handler) { 448 if (func && func->type == ZEND_INTERNAL_FUNCTION && orig_handler) {
449 func->internal_function.handler = orig_handler; 449 func->internal_function.handler = orig_handler;
450 } 450 }
451 (void)idx;//silence a -Wunused-but-set-variable
451 ZEND_HASH_FOREACH_END_DEL(); 452 ZEND_HASH_FOREACH_END_DEL();
452} 453}
453 454