summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sp_config_keywords.c1
-rw-r--r--src/sp_utils.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index 8084698..fd90453 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -166,7 +166,6 @@ SP_PARSE_FN(parse_wrapper_whitelist) {
166} 166}
167 167
168SP_PARSE_FN(parse_cookie) { 168SP_PARSE_FN(parse_cookie) {
169 int ret = 0;
170 zend_string *samesite = NULL; 169 zend_string *samesite = NULL;
171 sp_cookie *cookie = pecalloc(sizeof(sp_cookie), 1, 1); 170 sp_cookie *cookie = pecalloc(sizeof(sp_cookie), 1, 1);
172 171
diff --git a/src/sp_utils.c b/src/sp_utils.c
index c4209de..de19321 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -415,9 +415,6 @@ bool /* success */ _hook_function(const char* original_name, HashTable* hook_tab
415 415
416bool hook_function(const char* original_name, HashTable* hook_table, 416bool hook_function(const char* original_name, HashTable* hook_table,
417 zif_handler new_function) { 417 zif_handler new_function) {
418 zend_function* func;
419
420
421 bool ret = _hook_function(original_name, hook_table, new_function); 418 bool ret = _hook_function(original_name, hook_table, new_function);
422 419
423#if PHP_VERSION_ID < 80000 420#if PHP_VERSION_ID < 80000