clang-tidy: apply readability-redundant-control-flow fixes

This commit is contained in:
Daniel Pfeifer 2016-12-10 16:00:29 +01:00 committed by Brad King
parent 2988abd939
commit 85bfdddaf7
4 changed files with 0 additions and 4 deletions

View File

@ -733,7 +733,6 @@ void CCONV cmSourceFileSetName(void* arg, const char* name, const char* dir,
e << " ." << *ext;
}
cmSystemTools::Error(e.str().c_str());
return;
}
void CCONV cmSourceFileSetName2(void* arg, const char* name, const char* dir,

View File

@ -901,5 +901,4 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName,
emsg << cmWrap(" " + this->BinaryDirectory, searchDirs, tmpOutputFile, "\n")
<< "\n";
this->FindErrorMessage = emsg.str();
return;
}

View File

@ -180,5 +180,4 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const
}
}
fout << "endif()\n";
return;
}

View File

@ -137,7 +137,6 @@ void Tree::InsertPath(const std::vector<std::string>& splitted,
// last part of splitted
newFolder.files.push_back(fileName);
folders.push_back(newFolder);
return;
}
void Tree::BuildVirtualFolder(cmXMLWriter& xml) const