mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +08: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:
parent
4cb7aa067c
commit
e36115d688
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user