summaryrefslogtreecommitdiff
path: root/lib/ftplistparser.c
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-28 09:45:17 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-28 09:45:17 +0200
commit233ec511db140990bbaff622f8edd9f5d28f7399 (patch)
tree8aa5cf10224ab0f19f598b114077ab5de5c85b8f /lib/ftplistparser.c
parent4b96e5c70fd2cf10c7bd07cb50e01daeb981a5b9 (diff)
downloadcurl-233ec511db140990bbaff622f8edd9f5d28f7399.tar.gz
lib: eliminate 'statement not reached' warnings
Diffstat (limited to 'lib/ftplistparser.c')
-rw-r--r--lib/ftplistparser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
index 4e10c4331..947b71417 100644
--- a/lib/ftplistparser.c
+++ b/lib/ftplistparser.c
@@ -452,7 +452,6 @@ size_t ftp_parselist(char *buffer, size_t size, size_t nmemb, void *connptr)
default:
PL_ERROR(conn, CURLE_FTP_BAD_FILE_LIST);
return bufflen;
- break;
}
parser->state.UNIX.main = PL_UNIX_PERMISSION;
parser->item_length = 0;
@@ -993,7 +992,6 @@ size_t ftp_parselist(char *buffer, size_t size, size_t nmemb, void *connptr)
break;
default:
return bufflen+1;
- break;
}
i++;