summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 15:00:29 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-12 19:04:14 (GMT)
commit85bfdddaf75905a2c075d2a94d85f4bcfa1feea9 (patch)
tree18c2d5aa672e1fe34339d3d5f61fbd19d1af01cf /Source
parent2988abd9390c1d6876610436883d1f7bcd405d8f (diff)
downloadCMake-85bfdddaf75905a2c075d2a94d85f4bcfa1feea9.zip
CMake-85bfdddaf75905a2c075d2a94d85f4bcfa1feea9.tar.gz
CMake-85bfdddaf75905a2c075d2a94d85f4bcfa1feea9.tar.bz2
clang-tidy: apply readability-redundant-control-flow fixes
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCPluginAPI.cxx1
-rw-r--r--Source/cmCoreTryCompile.cxx1
-rw-r--r--Source/cmExportLibraryDependenciesCommand.cxx1
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx1
4 files changed, 0 insertions, 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<std::string>& splitted,
// last part of splitted
newFolder.files.push_back(fileName);
folders.push_back(newFolder);
- return;
}
void Tree::BuildVirtualFolder(cmXMLWriter& xml) const