cmCTestSubmitHandler: Remove redundant c_str()

This commit is contained in:
Daniel Pfeifer 2016-11-05 23:46:24 +01:00
parent 443180fb99
commit 5ae3966d75

View File

@ -926,7 +926,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(
return false;
}
size_t fileSize = static_cast<size_t>(st.st_size);
FILE* fp = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
FILE* fp = cmsys::SystemTools::Fopen(local_file, "rb");
if (!fp) {
cmCTestLog(this->CTest, ERROR_MESSAGE,
" Cannot open file: " << local_file << std::endl);