mirror of
https://github.com/reactos/CMake.git
synced 2025-02-11 06:25:44 +00:00
BUG: Add additional check
This commit is contained in:
parent
6783765c90
commit
5b638bb136
@ -179,6 +179,10 @@ std::string cmCTest::MakeXMLSafe(const std::string& str)
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( result.size() == 0 )
|
||||
{
|
||||
return "";
|
||||
}
|
||||
return std::string(&*result.begin(), result.size());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user