summaryrefslogtreecommitdiff
path: root/tests/libtest/lib505.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-06-10 17:35:28 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-06-10 17:35:28 +0000
commitcc5174a89a6092d92903708cf75fdb0b91f4b740 (patch)
treed3f0985b0a69ab7c0a2d98a4da22ec66360a96cd /tests/libtest/lib505.c
parent31552100c59f3f834d284b0131b5a4dba3f406ed (diff)
downloadcurl-cc5174a89a6092d92903708cf75fdb0b91f4b740.tar.gz
Fix "'x' might be used uninitialized in this function" warnings.
Diffstat (limited to 'tests/libtest/lib505.c')
-rw-r--r--tests/libtest/lib505.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c
index dc82e2d8f..7de0bc1e9 100644
--- a/tests/libtest/lib505.c
+++ b/tests/libtest/lib505.c
@@ -38,7 +38,7 @@
int test(char *URL)
{
CURL *curl;
- CURLcode res;
+ CURLcode res = CURLE_OK;
FILE *hd_src ;
int hd ;
struct_stat file_info;