mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
clang-tidy: apply readability-redundant-control-flow fixes
This commit is contained in:
1 parent
2988abd939
commit
85bfdddaf7
4 files changed
-4
No files matched your search
@@ -733,7 +733,6 @@ void CCONV cmSourceFileSetName(void* arg, const char* name, const char* dir,
|
|||||||
e << " ." << *ext;
|
e << " ." << *ext;
|
||||||
}
|
}
|
||||||
cmSystemTools::Error(e.str().c_str());
|
cmSystemTools::Error(e.str().c_str());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCONV cmSourceFileSetName2(void* arg, const char* name, const char* dir,
|
void CCONV cmSourceFileSetName2(void* arg, const char* name, const char* dir,
|
||||||
|
|||||||
@@ -901,5 +901,4 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName,
|
|||||||
emsg << cmWrap(" " + this->BinaryDirectory, searchDirs, tmpOutputFile, "\n")
|
emsg << cmWrap(" " + this->BinaryDirectory, searchDirs, tmpOutputFile, "\n")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
this->FindErrorMessage = emsg.str();
|
this->FindErrorMessage = emsg.str();
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
@@ -180,5 +180,4 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fout << "endif()\n";
|
fout << "endif()\n";
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,6 @@ void Tree::InsertPath(const std::vector<std::string>& splitted,
|
|||||||
// last part of splitted
|
// last part of splitted
|
||||||
newFolder.files.push_back(fileName);
|
newFolder.files.push_back(fileName);
|
||||||
folders.push_back(newFolder);
|
folders.push_back(newFolder);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tree::BuildVirtualFolder(cmXMLWriter& xml) const
|
void Tree::BuildVirtualFolder(cmXMLWriter& xml) const
|
||||||
|
|||||||
Reference in new issue
Block a user