summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-03-14 11:33:53 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-06-26 23:31:15 +0200
commite1d727654c49567f134ea74acee7ec57e7940069 (patch)
treea130fbe411e9ef27d2cd877abe93e69a26009092 /methods/https.cc
parentb224b8d5f4219c488128a2b7f10f70f230fe783d (diff)
Annotate intended switch fall through in https
Reported-By: gcc-7 Gbp-Dch: Ignore
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/https.cc b/methods/https.cc
index d71ef0bf0..80ce048ca 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -469,6 +469,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
case BaseHttpMethod::ERROR_WITH_CONTENT_PAGE:
// unlink, no need keep 401/404 page content in partial/
RemoveFile(Binary.c_str(), Req.File.Name());
+ // Fall through.
case BaseHttpMethod::ERROR_UNRECOVERABLE:
case BaseHttpMethod::ERROR_NOT_FROM_SERVER:
return false;