From e1d727654c49567f134ea74acee7ec57e7940069 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 14 Mar 2017 11:33:53 +0100 Subject: Annotate intended switch fall through in https Reported-By: gcc-7 Gbp-Dch: Ignore --- methods/https.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'methods') 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; -- cgit v1.2.3-70-g09d2