From: Daniel Stenberg Date: Thu, 23 Oct 2014 08:00:39 +0000 (+0200) Subject: Curl_rand: Uninitialized variable: r X-Git-Tag: curl-7_39_0~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e36115d6889309d3deacc125d766221fe6cea0ca;p=curl 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 --- 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;