diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-10-23 10:00:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-23 10:01:36 +0200 |
commit | e36115d6889309d3deacc125d766221fe6cea0ca (patch) | |
tree | 0619c8cfb0284360992fd4f0b19ad166041f9fc8 | |
parent | 4cb7aa067cb3fb01601dd5d164be8cefe6042211 (diff) |
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
-rw-r--r-- | lib/vtls/vtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |