aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2013-09-01 23:08:29 +0200
committerGuenter Knauf <lists@gknw.net>2013-09-01 23:08:29 +0200
commit97ed1ac905a02e27c2a61071103ae016ba0fed44 (patch)
treec83b0a01d86ae2e4c81070c42b078e8ecaa1de96 /tests/libtest
parent322f0bc2f1af4a985e85ee5c8639e3b454314ccd (diff)
Killed warning 'res' might be used uninitialized.
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1512.c b/tests/libtest/lib1512.c
index 93d5ea908..447ffb218 100644
--- a/tests/libtest/lib1512.c
+++ b/tests/libtest/lib1512.c
@@ -34,7 +34,7 @@
int test(char *URL)
{
- CURLcode res;
+ CURLcode res = 0;
CURL *curl[NUM_HANDLES] = {NULL, NULL};
char *port = libtest_arg3;
char *address = libtest_arg2;