diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-13 14:28:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 14:28:05 +0100 |
commit | dcfe44f4479ddbf3518d3e753fbf242845402ae4 (patch) | |
tree | 08e9b17099079836ffae47c4cf234d0bd115c909 /modules/bullet/pin_joint_bullet.cpp | |
parent | 835406cf04f0200a0504ae171964c687c559eb1e (diff) | |
parent | 54ac8eaba661a599983ae4774113d1a15cfa461a (diff) |
Merge pull request #36175 from akien-mga/remove-more-deprecated-stuff
Remove deprecated methods and code
Diffstat (limited to 'modules/bullet/pin_joint_bullet.cpp')
-rw-r--r-- | modules/bullet/pin_joint_bullet.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/bullet/pin_joint_bullet.cpp b/modules/bullet/pin_joint_bullet.cpp index 1c2e5e65cc..8d109f1866 100644 --- a/modules/bullet/pin_joint_bullet.cpp +++ b/modules/bullet/pin_joint_bullet.cpp @@ -84,10 +84,9 @@ real_t PinJointBullet::get_param(PhysicsServer::PinJointParam p_param) const { return p2pConstraint->m_setting.m_damping; case PhysicsServer::PIN_JOINT_IMPULSE_CLAMP: return p2pConstraint->m_setting.m_impulseClamp; - default: - WARN_DEPRECATED_MSG("The parameter " + itos(p_param) + " is deprecated."); - return 0; } + // Compiler doesn't seem to notice that all code paths are fulfilled... + return 0; } void PinJointBullet::setPivotInA(const Vector3 &p_pos) { |