mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
rand: Fix potentially uninitialized result warning
This commit is contained in:
parent
c0ae2dbb86
commit
8626632f3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue