From e36115d6889309d3deacc125d766221fe6cea0ca Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Oct 2014 10:00:39 +0200 Subject: Curl_rand: Uninitialized variable: r This is not actually used uninitialized but we silence warnings. Bug: http://curl.haxx.se/bug/view.cgi?id=1437 Reported-by: Julien --- lib/vtls/vtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index fd025b1da..6c1fdc861 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -183,7 +183,7 @@ void Curl_free_ssl_config(struct ssl_config_data* sslc) unsigned int Curl_rand(struct SessionHandle *data) { - unsigned int r; + unsigned int r = 0; static unsigned int randseed; static bool seeded = FALSE; -- cgit v1.2.3