diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-02 07:18:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-02 07:18:24 +0100 |
commit | 3c6c2bcd5af8a111738f9190093dbf8a440d167b (patch) | |
tree | f81c67d0655042cf06586d3718957eb77c4aef5d /lib | |
parent | 0e727979a565f644cf48783da5a7f41de2562052 (diff) |
ftp: remove dead code in ftp_done
Coverity CID 1374358
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3303,8 +3303,6 @@ static CURLcode ftp_done(struct connectdata *conn, CURLcode status, if(result) { /* out of memory, but we can limp along anyway (and should try to * since we may already be in the out of memory cleanup path) */ - if(!result) - result = CURLE_OUT_OF_MEMORY; ftpc->ctl_valid = FALSE; /* mark control connection as bad */ connclose(conn, "FTP: out of memory!"); /* mark for connection closure */ ftpc->prevpath = NULL; /* no path remembering */ |