diff options
author | Brad King <brad.king@kitware.com> | 2017-07-07 12:42:33 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-07-07 12:42:41 (GMT) |
commit | 364496e4d284c64c81c622f7ffb3674b9a83507f (patch) | |
tree | 01345164e6a6951f7aaa4159cc990bf71f72f185 /Source | |
parent | 1ff7cd1fe7cdd408d55827bdc10058167a09cf45 (diff) | |
parent | 6c80e958cad73105c44e6b725a8ed7394e04290d (diff) | |
download | CMake-364496e4d284c64c81c622f7ffb3674b9a83507f.zip CMake-364496e4d284c64c81c622f7ffb3674b9a83507f.tar.gz CMake-364496e4d284c64c81c622f7ffb3674b9a83507f.tar.bz2 |
Merge topic 'add-missing-fallthrough'
6c80e958 cmCTest: Add missing switch case fallthrough markup
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1027
Diffstat (limited to 'Source')
-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; |