aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-12-02 16:35:02 +0100
committerYang Tse <yangsita@gmail.com>2010-12-02 16:35:02 +0100
commit5580fb2b9cb392f909d39b04292d75b3611197f0 (patch)
treea90f42e3457144118704da7081daf3fe917dca8d /lib/ftp.c
parent7e3f0bffe5d930489db80e1d65c27fe44a51f6f4 (diff)
fix compiler warning: statement is not reachable
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 796186a10..00d60eac6 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3615,7 +3615,7 @@ static CURLcode wc_statemach(struct connectdata *conn)
return CURLE_REMOTE_FILE_NOT_FOUND;
}
return wc_statemach(conn);
- } break;
+ }
case CURLWC_DOWNLOADING: {
/* filelist has at least one file, lets get first one */
@@ -3684,7 +3684,7 @@ static CURLcode wc_statemach(struct connectdata *conn)
wildcard->state = (wildcard->filelist->size == 0) ?
CURLWC_CLEAN : CURLWC_DOWNLOADING;
return wc_statemach(conn);
- } break;
+ }
case CURLWC_CLEAN: {
struct ftp_wc_tmpdata *ftp_tmp = wildcard->tmp;