initialize this one to be safe

This commit is contained in:
Wez Furlong 2003-11-27 17:37:35 +00:00
parent 3be27ecc78
commit 43698d6dbb

View file

@ -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 */ Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec */
PHP_FUNCTION(stream_select) 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;
struct timeval *tv_p = NULL; struct timeval *tv_p = NULL;
fd_set rfds, wfds, efds; fd_set rfds, wfds, efds;