mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user