summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-11-27 17:37:35 +0000
committerWez Furlong <wez@php.net>2003-11-27 17:37:35 +0000
commit43698d6dbb66aed8ede33da1eaa886d86cce138e (patch)
tree3a3fda663bd6fbd63852398017929a2bacec14dc
parent3be27ecc78d68c2e7beccfc6eedc60e235a080c1 (diff)
downloadphp-git-43698d6dbb66aed8ede33da1eaa886d86cce138e.tar.gz
initialize this one to be safe
-rw-r--r--ext/standard/streamsfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c
index ae9ed56184..0e94f32f51 100644
--- a/ext/standard/streamsfuncs.c
+++ b/ext/standard/streamsfuncs.c
@@ -570,7 +570,7 @@ static int stream_array_emulate_read_fd_set(zval *stream_array TSRMLS_DC)
Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec */
PHP_FUNCTION(stream_select)
{
- zval *r_array, *w_array, *e_array, *sec;
+ zval *r_array, *w_array, *e_array, *sec = NULL;
struct timeval tv;
struct timeval *tv_p = NULL;
fd_set rfds, wfds, efds;