mirror of
https://github.com/reactos/CMake.git
synced 2025-01-19 01:42:18 +00:00
Close ifstream.
This commit is contained in:
parent
348f6c4d8c
commit
5cfbdb1f80
@ -363,7 +363,11 @@ void cmCTestMultiProcessHandler::ReadCostData()
|
||||
cmSystemTools::SplitString(line.c_str(), ' ');
|
||||
|
||||
// Probably an older version of the file, will be fixed next run
|
||||
if(parts.size() < 3) return;
|
||||
if(parts.size() < 3)
|
||||
{
|
||||
fin.close();
|
||||
return;
|
||||
}
|
||||
|
||||
std::string name = parts[0];
|
||||
int prev = atoi(parts[1].c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user