aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
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/unit
parent1ed9e747029b963b641d5cd0389e087c03ee3cb5 (diff)
tests: fix multiple may be used uninitialized warnings
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/unit1650.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit1650.c b/tests/unit/unit1650.c
index adc91236a..cd6f519f7 100644
--- a/tests/unit/unit1650.c
+++ b/tests/unit/unit1650.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2018 - 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
@@ -152,7 +152,7 @@ static struct dohresp resp[] = {
UNITTEST_START
{
- size_t size;
+ size_t size = 0;
unsigned char buffer[256];
size_t i;
unsigned char *p;