aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rand.c b/lib/rand.c
index 107a1dd4a..342796513 100644
--- a/lib/rand.c
+++ b/lib/rand.c
@@ -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);