BUG: Add additional check

This commit is contained in:
Andy Cedilnik 2006-02-28 15:56:46 -05:00
parent 6783765c90
commit 5b638bb136
1 changed files with 4 additions and 0 deletions

View File

@ -179,6 +179,10 @@ std::string cmCTest::MakeXMLSafe(const std::string& str)
}
}
}
if ( result.size() == 0 )
{
return "";
}
return std::string(&*result.begin(), result.size());
}