[Sketch] remove superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 02:51:49 +02:00
parent 2bde1e6923
commit 0399b3f087
12 changed files with 30 additions and 30 deletions

View File

@@ -295,7 +295,7 @@ int SketchAnalysis::detectMissingPointOnPointConstraints(double precision, bool
std::set<VertexIds, VertexID_Less> *tempGrp = nullptr;
for (auto it = coincVertexGrps.begin(); it < coincVertexGrps.end(); ++it) {
if ( (it->find(v1) != it->end()) || (it->find(v2) != it->end()) ) {
if (tempGrp == nullptr) {
if (!tempGrp) {
tempGrp = &*it;
}
else {