summaryrefslogtreecommitdiff
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-05 11:36:56 -0400
committerBrad King <brad.king@kitware.com>2017-07-05 11:48:47 -0400
commit6c80e958cad73105c44e6b725a8ed7394e04290d (patch)
tree1767965317bc3a753a057f39c93ddcc432ea2c6f /Source/cmCTest.cxx
parent295d9bf2bd795da551d5ac266c53eeac2de45a71 (diff)
downloadcmake-6c80e958cad73105c44e6b725a8ed7394e04290d.tar.gz
cmCTest: Add missing switch case fallthrough markup
Without this, GCC 7 warns. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index e2605561ae..60782569bb 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -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;