From 6c80e958cad73105c44e6b725a8ed7394e04290d Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 5 Jul 2017 11:36:56 -0400 Subject: cmCTest: Add missing switch case fallthrough markup Without this, GCC 7 warns. Reported-by: Rolf Eike Beer --- Source/cmCTest.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v0.12