mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05: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:
+2
-1
@@ -190,7 +190,8 @@ int cmCTest::HTTPRequest(std::string url, HTTPMethod method,
|
|||||||
::curl_easy_setopt(curl, CURLOPT_PUT, 1);
|
::curl_easy_setopt(curl, CURLOPT_PUT, 1);
|
||||||
file = cmsys::SystemTools::Fopen(putFile, "rb");
|
file = cmsys::SystemTools::Fopen(putFile, "rb");
|
||||||
::curl_easy_setopt(curl, CURLOPT_INFILE, file);
|
::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:
|
case cmCTest::HTTP_GET:
|
||||||
if (!fields.empty()) {
|
if (!fields.empty()) {
|
||||||
url += "?" + fields;
|
url += "?" + fields;
|
||||||
|
|||||||
Reference in New Issue
Block a user