]> granicus.if.org Git - php/commitdiff
initialize this one to be safe
authorWez Furlong <wez@php.net>
Thu, 27 Nov 2003 17:37:35 +0000 (17:37 +0000)
committerWez Furlong <wez@php.net>
Thu, 27 Nov 2003 17:37:35 +0000 (17:37 +0000)
ext/standard/streamsfuncs.c

index ae9ed56184b3f2335d5861b835cdf72cc4340c5f..0e94f32f5169df1c15c6a2832ccc9a114215a0e4 100644 (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 */
 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;