mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
rand: Fix potentially uninitialized result warning
This commit is contained in:
parent
c0ae2dbb86
commit
8626632f3e
@ -115,7 +115,7 @@ static CURLcode randit(struct Curl_easy *data, unsigned int *rnd)
|
||||
|
||||
CURLcode Curl_rand(struct Curl_easy *data, unsigned int *rndptr, int num)
|
||||
{
|
||||
CURLcode result;
|
||||
CURLcode result = CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
int i;
|
||||
|
||||
assert(num > 0);
|
||||
|
Loading…
Reference in New Issue
Block a user