App: Coverity fixes
This commit is contained in:
committed by
Benjamin Nauck
parent
eedb743959
commit
09cdcee1bb
@@ -223,14 +223,6 @@ bool GeoFeature::getCameraAlignmentDirection(Base::Vector3d& direction, const ch
|
||||
bool GeoFeature::hasMissingElement(const char* subname)
|
||||
{
|
||||
return Data::hasMissingElement(subname);
|
||||
if (!subname) {
|
||||
return false;
|
||||
}
|
||||
auto dot = strrchr(subname, '.');
|
||||
if (!dot) {
|
||||
return subname[0] == '?';
|
||||
}
|
||||
return dot[1] == '?';
|
||||
}
|
||||
|
||||
void GeoFeature::updateElementReference()
|
||||
|
||||
Reference in New Issue
Block a user