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());
|
return std::string(&*result.begin(), result.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue