diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-13 12:09:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-13 12:09:05 +0000 |
commit | 65b22480f4053ccedc6fd933f52b1e7dd6e1bce9 (patch) | |
tree | 33524e5b7a4e436a322aeb1c3fa3f115269b06b1 | |
parent | 60f19269d04c46b76171aced76781f7bba9ec4a4 (diff) |
uninitialized variable
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |