mirror of
https://github.com/reactos/CMake.git
synced 2025-01-26 13:57:07 +00:00
COMP: Work-around bogus compiler warning.
This commit is contained in:
parent
05624f2fe8
commit
ae60cc235c
@ -2460,6 +2460,7 @@ bool cmSystemTools::ChangeRPath(std::string const& file,
|
||||
return true;
|
||||
}
|
||||
|
||||
{
|
||||
// Open the file for update.
|
||||
std::ofstream f(file.c_str(),
|
||||
std::ios::in | std::ios::out | std::ios::binary);
|
||||
@ -2507,6 +2508,7 @@ bool cmSystemTools::ChangeRPath(std::string const& file,
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Everything was updated successfully.
|
||||
if(changed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user