AUTOGEN: Generators: Cleanup variable initialization

This commit is contained in:
Sebastian Holtermann committed 2017-01-10 12:49:13 +01:00
1 parent a1e49bb155
commit 794fdf40a1
1 file changed
+1 -4
+1 -4
View File
@@ -926,15 +926,12 @@ void cmQtAutoGenerators::ParseForUic(
if (this->UicExecutable.empty()) {
return;
}
const std::string realName = cmsys::SystemTools::GetRealPath(absFilename);
cmsys::RegularExpression uiIncludeRegExp(
"[\n][ \t]*#[ \t]*include[ \t]+"
"[\"<](([^ \">]+/)?ui_[^ \">/]+\\.h)[\">]");
std::string::size_type matchOffset = 0;
const std::string realName = cmsys::SystemTools::GetRealPath(absFilename);
matchOffset = 0;
if ((strstr(contentsString.c_str(), "ui_") != CM_NULLPTR) &&
(uiIncludeRegExp.find(contentsString))) {
do {