diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index d1f8446f9c..e78f5fe04d 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 1b7180c229..e0b3120632 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 f556a8b523..ac4f04072b 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 b0a4c47187..f544e8a3f0 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