diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2015-03-25 16:38:37 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2015-03-25 16:38:37 (GMT) |
commit | a4a1b729c63ec81037af06ac1009d12cc1dc3188 (patch) | |
tree | 3b96b876cb9d9ddc9d2fd3b0a8c339fa49cbc5a8 /Source/cmFileCommand.cxx | |
parent | 51b4321e5fdf9f7cbc54881037a45a474883ef47 (diff) | |
download | CMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.zip CMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.tar.gz CMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.tar.bz2 |
Fix warnings from clang scanbuild.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index ae9099e..93e3ac4 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -3422,6 +3422,7 @@ cmFileCommand::HandleUploadCommand(std::vector<std::string> const& args) // enable HTTP ERROR parsing ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1); + check_curl_result(res, "UPLOAD cannot set fail on error flag: "); // enable uploading res = ::curl_easy_setopt(curl, CURLOPT_UPLOAD, 1); |