#4348 System , cppcheck : Remove unused variables

This commit is contained in:
Magne Sjaastad
2019-04-20 14:34:23 +02:00
parent e2d21bb4f9
commit ca72e6ab89
4 changed files with 0 additions and 6 deletions

View File

@@ -183,7 +183,6 @@ cvf::Vec3d RigFisbonesGeometry::closestMainAxis(const cvf::Vec3d& vec)
if (cvf::Math::abs(vec.z()) > maxValue)
{
maxComponent = 2;
maxValue = cvf::Math::abs(vec.z());
}
if (maxComponent == 0)