diff options
| author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:06:49 +0000 |
|---|---|---|
| committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:06:49 +0000 |
| commit | 5ef7ecafc1e912bda9010c727cfe5c712f9eefb8 (patch) | |
| tree | 2617dac3c823a86b7af2bf7fbdf9bfee99bedc3f /ext/standard/streamsfuncs.c | |
| parent | 374086f172de2b61115c95eec0a3d8120adf48a0 (diff) | |
| download | php-git-5ef7ecafc1e912bda9010c727cfe5c712f9eefb8.tar.gz | |
initialize optional vars
Diffstat (limited to 'ext/standard/streamsfuncs.c')
| -rw-r--r-- | ext/standard/streamsfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 5fcae2c19d..a10e672a2c 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1427,7 +1427,7 @@ PHP_FUNCTION(stream_set_blocking) PHP_FUNCTION(stream_set_timeout) { zval *socket; - long seconds, microseconds; + long seconds, microseconds = 0; struct timeval t; php_stream *stream; int argc = ZEND_NUM_ARGS(); @@ -1489,7 +1489,7 @@ PHP_FUNCTION(stream_set_write_buffer) Enable or disable a specific kind of crypto on the stream */ PHP_FUNCTION(stream_socket_enable_crypto) { - long cryptokind; + long cryptokind = 0; zval *zstream, *zsessstream = NULL; php_stream *stream, *sessstream = NULL; zend_bool enable; |
