mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user