diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-05 13:51:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-05 14:38:25 +0100 |
commit | a4cc978906ef14a5ae5a251de89fce784304898b (patch) | |
tree | 80ea5b18467e5d8b1e3f33a91875930fc032e4c2 /tests/libtest/lib556.c | |
parent | 1ed9e747029b963b641d5cd0389e087c03ee3cb5 (diff) | |
download | curl-a4cc978906ef14a5ae5a251de89fce784304898b.tar.gz |
tests: fix multiple may be used uninitialized warnings
Diffstat (limited to 'tests/libtest/lib556.c')
-rw-r--r-- | tests/libtest/lib556.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 69b2c09dd..0595000ce 100644 --- a/tests/libtest/lib556.c +++ b/tests/libtest/lib556.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, 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 @@ -70,7 +70,7 @@ int test(char *URL) "GET /556 HTTP/1.2\r\n" "Host: ninja\r\n\r\n"; #endif - size_t iolen; + size_t iolen = 0; res = curl_easy_send(curl, request, strlen(request), &iolen); |