Commit 6c80e958 authored by Brad King's avatar Brad King

cmCTest: Add missing switch case fallthrough markup

Without this, GCC 7 warns.
Reported-by: Rolf Eike Beer's avatarRolf Eike Beer <eike@sf-mail.de>
parent 295d9bf2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment