1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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
This commit is contained in:
Daniel Stenberg 2014-10-23 10:00:39 +02:00
parent 4cb7aa067c
commit e36115d688

View File

@ -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;