From: Marcus Boerger Date: Thu, 24 Oct 2002 19:17:08 +0000 (+0000) Subject: fix compiler warning?: implement default mentioned by manual X-Git-Tag: php-4.3.0pre2~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1508efb4514a37efff8403c3ea9e55ff105e364;p=php fix compiler warning?: implement default mentioned by manual --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 1e10984cca..44d604eb34 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1310,7 +1310,7 @@ PHP_FUNCTION(stream_set_timeout) PHPAPI PHP_FUNCTION(fgets) { zval **arg1, **arg2; - int len; + int len = 1024; char *buf = NULL; int argc = ZEND_NUM_ARGS(); size_t line_len = 0;