1
0
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:
Zeev Suraski
2000-09-03 15:58:50 +00:00
parent 48f13455be
commit 2183e2b0be
2 changed files with 8 additions and 2 deletions

View File

@@ -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");

View File

@@ -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");