diff options
| author | Ben Fuhrmannek | 2021-08-17 13:47:14 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-17 13:47:14 +0200 |
| commit | a67fd0af43e0cc786069bba4539e28eccdcb12b0 (patch) | |
| tree | 98ad007e4250a69d78b516c80933c15cbcdcda74 | |
| parent | 71b0b92a6b9ac2834237c29a949ac1c7a7714395 (diff) | |
removed unused variables
| -rw-r--r-- | src/sp_config_keywords.c | 1 | ||||
| -rw-r--r-- | src/sp_utils.c | 3 |
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 | ||
| 168 | SP_PARSE_FN(parse_cookie) { | 168 | SP_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 | ||
| 416 | bool hook_function(const char* original_name, HashTable* hook_table, | 416 | bool 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 |
