Browse Source

IKSolver.spp: PVS-Studio: Non-void function should return a value

Signed-off-by: Svyatoslav <[email protected]>
Svyatoslav 8 years ago
parent
commit
e063eae963
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/Urho3D/IK/IKSolver.cpp

+ 2 - 0
Source/Urho3D/IK/IKSolver.cpp

@@ -54,6 +54,8 @@ static bool ChildrenHaveEffector(const Node* node)
         if (ChildrenHaveEffector(it->Get()))
             return true;
     }
+
+    return false;
 }
 
 // ----------------------------------------------------------------------------