diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
commit | d69dfa4b9f58e2148f986e0ef5dba91f00c2f639 (patch) | |
tree | c86c9f2955005a0c78c9ea5f0e181a0ddf8980a6 /ext/standard/streamsfuncs.c | |
parent | 261f0c32a59ba9ecc59f36536ea27bdfdead0939 (diff) | |
download | php-git-d69dfa4b9f58e2148f986e0ef5dba91f00c2f639.tar.gz |
MFH: 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 348136275b..8aa8391b12 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1277,7 +1277,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(); @@ -1347,7 +1347,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; |