summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-06-01 23:56:19 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-02 13:30:23 +0200
commit1e5ca6209b333e526333cf83c2387d8825bf668d (patch)
treeacd4ec85a71503a6f0287d502876f0c1a0fb3379
parent0b90cf85a6ace22abd0f9f86d5015a5b6db92387 (diff)
downloadphp-git-1e5ca6209b333e526333cf83c2387d8825bf668d.tar.gz
Fix warning unused variable ret
-rw-r--r--main/output.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/output.c b/main/output.c
index 82d36e8048..048814e0b9 100644
--- a/main/output.c
+++ b/main/output.c
@@ -636,7 +636,6 @@ PHPAPI int php_output_handler_reverse_conflict_register(const char *name, size_t
if (NULL != (rev_ptr = zend_hash_str_find_ptr(&php_output_handler_reverse_conflicts, name, name_len))) {
return zend_hash_next_index_insert_ptr(rev_ptr, check_func) ? SUCCESS : FAILURE;
} else {
- int ret;
zend_string *str;
zend_hash_init(&rev, 8, NULL, NULL, 1);
@@ -664,7 +663,6 @@ PHPAPI php_output_handler_alias_ctor_t php_output_handler_alias(const char *name
* Registers an internal output handler as alias for a user handler */
PHPAPI int php_output_handler_alias_register(const char *name, size_t name_len, php_output_handler_alias_ctor_t func)
{
- int ret;
zend_string *str;
if (!EG(current_module)) {