cmCTest: Add missing switch case fallthrough markup

Without this, GCC 7 warns.

Reported-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
Brad King
2017-07-05 11:36:56 -04:00
parent 295d9bf2bd
commit 6c80e958ca

View File

@@ -190,7 +190,8 @@ int cmCTest::HTTPRequest(std::string url, HTTPMethod method,
::curl_easy_setopt(curl, CURLOPT_PUT, 1);
file = cmsys::SystemTools::Fopen(putFile, "rb");
::curl_easy_setopt(curl, CURLOPT_INFILE, file);
// fall through to append GET fields
// fall through to append GET fields
CM_FALLTHROUGH;
case cmCTest::HTTP_GET:
if (!fields.empty()) {
url += "?" + fields;