From 9ad97cd48903ea5454853960f2c14de326e0f624 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 14 Aug 2013 20:36:50 -0700 Subject: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. --- ext/openssl/xp_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/xp_ssl.c') diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index e19e8f098d..6e74d8024f 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -472,7 +472,7 @@ static inline int php_openssl_enable_crypto(php_stream *stream, do { struct timeval cur_time, - elapsed_time; + elapsed_time = {0}; if (sslsock->is_client) { n = SSL_connect(sslsock->ssl_handle); -- cgit v1.2.1