summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1900.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/lib1900.c
parent1ed9e747029b963b641d5cd0389e087c03ee3cb5 (diff)
downloadcurl-a4cc978906ef14a5ae5a251de89fce784304898b.tar.gz
tests: fix multiple may be used uninitialized warnings
Diffstat (limited to 'tests/libtest/lib1900.c')
-rw-r--r--tests/libtest/lib1900.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib1900.c b/tests/libtest/lib1900.c
index 1e10bdf34..2a70f8eba 100644
--- a/tests/libtest/lib1900.c
+++ b/tests/libtest/lib1900.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2013 - 2018, Linus Nielsen Feltzing, <linus@haxx.se>
+ * Copyright (C) 2013 - 2019, Linus Nielsen Feltzing, <linus@haxx.se>
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -138,7 +138,7 @@ int test(char *URL)
CURLM *m = NULL;
CURLMsg *msg; /* for picking up messages with the transfer status */
int msgs_left; /* how many messages are left */
- int running;
+ int running = 0;
int handlenum = 0;
struct timeval last_handle_add;