Merge topic 'semi-warnings'

b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2795
This commit is contained in:
Brad King
2019-01-16 14:52:22 +00:00
committed by Kitware Robot
27 changed files with 81 additions and 66 deletions
+8 -6
View File
@@ -2700,12 +2700,14 @@ private:
#endif
#define check_curl_result(result, errstr) \
if (result != CURLE_OK) { \
std::string e(errstr); \
e += ::curl_easy_strerror(result); \
this->SetError(e); \
return false; \
}
do { \
if (result != CURLE_OK) { \
std::string e(errstr); \
e += ::curl_easy_strerror(result); \
this->SetError(e); \
return false; \
} \
} while (false)
bool cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args)
{