aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1537.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-05 13:51:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-05 14:38:25 +0100
commita4cc978906ef14a5ae5a251de89fce784304898b (patch)
tree80ea5b18467e5d8b1e3f33a91875930fc032e4c2 /tests/libtest/lib1537.c
parent1ed9e747029b963b641d5cd0389e087c03ee3cb5 (diff)
tests: fix multiple may be used uninitialized warnings
Diffstat (limited to 'tests/libtest/lib1537.c')
-rw-r--r--tests/libtest/lib1537.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib1537.c b/tests/libtest/lib1537.c
index 9832c3a30..7c5dde042 100644
--- a/tests/libtest/lib1537.c
+++ b/tests/libtest/lib1537.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -30,7 +30,7 @@ int test(char *URL)
CURLcode res = CURLE_OK;
char *ptr = NULL;
int asize;
- int outlen;
+ int outlen = 0;
char *raw;
(void)URL; /* we don't use this */