aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mime.c1
-rw-r--r--lib/socks.c7
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/mime.c b/lib/mime.c
index e85ef4206..4a87c4a3f 100644
--- a/lib/mime.c
+++ b/lib/mime.c
@@ -595,7 +595,6 @@ static size_t encoder_qp_read(char *buffer, size_t size, bool ateof,
switch(qp_lookahead_eol(st, ateof, consumed)) {
case -1: /* Need more data. */
return cursize;
- break;
case 0: /* Not followed by a CRLF. */
softlinebreak = 1;
break;
diff --git a/lib/socks.c b/lib/socks.c
index 93b052cf0..4c1af7b9d 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -633,11 +633,10 @@ CURLcode Curl_SOCKS5(const char *proxy_user,
failf(data, "No authentication method was acceptable.");
return CURLE_COULDNT_CONNECT;
}
- failf(data,
- "Undocumented SOCKS5 mode attempted to be used by server.");
- return CURLE_COULDNT_CONNECT;
}
- break;
+ failf(data,
+ "Undocumented SOCKS5 mode attempted to be used by server.");
+ return CURLE_COULDNT_CONNECT;
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
case CONNECT_GSSAPI_INIT:
/* GSSAPI stuff done non-blocking */