cvs: php4 /ext/standard output.c
| From: | Zeev Suraski | Date: | Sun, 03 Sep 2000 15:58:50 +0000 |
| Subject: | cvs: php4 /ext/standard output.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1523@lists.php.net to get a copy of this message | ||
zeev Sun Sep 3 08:58:50 2000 EDT
Modified files:
/php4/ext/standard output.c
Log:
Make gcc happy
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.29 php4/ext/standard/output.c:1.30
--- php4/ext/standard/output.c:1.29 Sun Sep 3 08:56:54 2000
+++ php4/ext/standard/output.c Sun Sep 3 08:58:50 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: output.c,v 1.29 2000/09/03 15:56:54 zeev Exp $ */
+/* $Id: output.c,v 1.30 2000/09/03 15:58:50 zeev Exp $ */
#include "php.h"
#include "ext/standard/head.h"
@@ -105,7 +105,7 @@
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();
@@ -409,6 +409,9 @@
output_handler = *output_handler_p;
output_handler->refcount++;
}
+ break;
+ default:
+ ZEND_WRONG_PARAM_COUNT();
break;
}
if (php_start_ob_buffer(output_handler)==FAILURE) {