Skip to content

Commit 1e5ca62

Browse files
petknikic
authored andcommitted
Fix warning unused variable ret
1 parent 0b90cf8 commit 1e5ca62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main/output.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ PHPAPI int php_output_handler_reverse_conflict_register(const char *name, size_t
636636
if (NULL != (rev_ptr = zend_hash_str_find_ptr(&php_output_handler_reverse_conflicts, name, name_len))) {
637637
return zend_hash_next_index_insert_ptr(rev_ptr, check_func) ? SUCCESS : FAILURE;
638638
} else {
639-
int ret;
640639
zend_string *str;
641640

642641
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
664663
* Registers an internal output handler as alias for a user handler */
665664
PHPAPI int php_output_handler_alias_register(const char *name, size_t name_len, php_output_handler_alias_ctor_t func)
666665
{
667-
int ret;
668666
zend_string *str;
669667

670668
if (!EG(current_module)) {

0 commit comments

Comments
 (0)