From 85bfdddaf75905a2c075d2a94d85f4bcfa1feea9 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sat, 10 Dec 2016 16:00:29 +0100 Subject: clang-tidy: apply readability-redundant-control-flow fixes --- Source/cmCPluginAPI.cxx | 1 - Source/cmCoreTryCompile.cxx | 1 - Source/cmExportLibraryDependenciesCommand.cxx | 1 - Source/cmExtraCodeBlocksGenerator.cxx | 1 - 4 files changed, 4 deletions(-) diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index d1f8446..e78f5fe 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -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, diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx index 1b7180c..e0b3120 100644 --- a/Source/cmCoreTryCompile.cxx +++ b/Source/cmCoreTryCompile.cxx @@ -901,5 +901,4 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName, emsg << cmWrap(" " + this->BinaryDirectory, searchDirs, tmpOutputFile, "\n") << "\n"; this->FindErrorMessage = emsg.str(); - return; } diff --git a/Source/cmExportLibraryDependenciesCommand.cxx b/Source/cmExportLibraryDependenciesCommand.cxx index f556a8b..ac4f040 100644 --- a/Source/cmExportLibraryDependenciesCommand.cxx +++ b/Source/cmExportLibraryDependenciesCommand.cxx @@ -180,5 +180,4 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const } } fout << "endif()\n"; - return; } diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index b0a4c47..f544e8a 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -137,7 +137,6 @@ void Tree::InsertPath(const std::vector& splitted, // last part of splitted newFolder.files.push_back(fileName); folders.push_back(newFolder); - return; } void Tree::BuildVirtualFolder(cmXMLWriter& xml) const -- cgit v0.12