diff options
| author | Marcus Boerger <helly@php.net> | 2002-10-24 19:17:08 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-10-24 19:17:08 +0000 |
| commit | e1508efb4514a37efff8403c3ea9e55ff105e364 (patch) | |
| tree | 6fcb418f392dd29fc8af4f3ff3d3f0620330eada | |
| parent | 15b2e277a479175557dd964ad833eb005798d000 (diff) | |
| download | php-git-e1508efb4514a37efff8403c3ea9e55ff105e364.tar.gz | |
fix compiler warning?: implement default mentioned by manual
| -rw-r--r-- | ext/standard/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
