aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-13 12:09:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-13 12:09:05 +0000
commit65b22480f4053ccedc6fd933f52b1e7dd6e1bce9 (patch)
tree33524e5b7a4e436a322aeb1c3fa3f115269b06b1 /lib
parent60f19269d04c46b76171aced76781f7bba9ec4a4 (diff)
uninitialized variable
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index fe48c6f9c..fc78d66ad 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -558,7 +558,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
ssize_t nread;
char *buf = data->state.buffer; /* this is our buffer */
int ftpcode;
- CURLcode result;
+ CURLcode result=CURLE_OK;
if(data->set.upload) {
if((-1 != data->set.infilesize) && (data->set.infilesize != *ftp->bytecountp)) {