mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Make gcc happy
This commit is contained in:
@@ -105,7 +105,7 @@ PHPAPI int php_start_ob_buffer(zval *output_handler)
|
||||
PHPAPI void php_end_ob_buffer(int send_buffer)
|
||||
{
|
||||
char *final_buffer=NULL;
|
||||
int final_buffer_length;
|
||||
int final_buffer_length=0;
|
||||
zval *alternate_buffer=NULL;
|
||||
SLS_FETCH();
|
||||
OLS_FETCH();
|
||||
@@ -410,6 +410,9 @@ PHP_FUNCTION(ob_start)
|
||||
output_handler->refcount++;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
break;
|
||||
}
|
||||
if (php_start_ob_buffer(output_handler)==FAILURE) {
|
||||
php_error(E_WARNING, "Cannot use output buffering in output buffering display handlers");
|
||||
|
||||
@@ -105,7 +105,7 @@ PHPAPI int php_start_ob_buffer(zval *output_handler)
|
||||
PHPAPI void php_end_ob_buffer(int send_buffer)
|
||||
{
|
||||
char *final_buffer=NULL;
|
||||
int final_buffer_length;
|
||||
int final_buffer_length=0;
|
||||
zval *alternate_buffer=NULL;
|
||||
SLS_FETCH();
|
||||
OLS_FETCH();
|
||||
@@ -410,6 +410,9 @@ PHP_FUNCTION(ob_start)
|
||||
output_handler->refcount++;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
break;
|
||||
}
|
||||
if (php_start_ob_buffer(output_handler)==FAILURE) {
|
||||
php_error(E_WARNING, "Cannot use output buffering in output buffering display handlers");
|
||||
|
||||
Reference in New Issue
Block a user