mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
Meta: replace empty-string assignments with clear().
This commit is contained in:
@@ -85,7 +85,7 @@ std::string cmFindPathCommand::FindHeaderInFramework(std::string const& file,
|
||||
// if the framework has a path in it then just use the filename
|
||||
if (frameWorkName.find('/') != std::string::npos) {
|
||||
fileName = file;
|
||||
frameWorkName = "";
|
||||
frameWorkName.clear();
|
||||
}
|
||||
if (!frameWorkName.empty()) {
|
||||
std::string fpath = dir;
|
||||
|
||||
Reference in New Issue
Block a user