diff options
author | Brad King <brad.king@kitware.com> | 2017-07-05 15:36:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-05 15:48:47 (GMT) |
commit | 6c80e958cad73105c44e6b725a8ed7394e04290d (patch) | |
tree | 1767965317bc3a753a057f39c93ddcc432ea2c6f /Source/cmCTest.cxx | |
parent | 295d9bf2bd795da551d5ac266c53eeac2de45a71 (diff) | |
download | CMake-6c80e958cad73105c44e6b725a8ed7394e04290d.zip CMake-6c80e958cad73105c44e6b725a8ed7394e04290d.tar.gz CMake-6c80e958cad73105c44e6b725a8ed7394e04290d.tar.bz2 |
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.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index e260556..6078256 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; |