From b11f29c8ac136888bbdef6d5cc2d481a5692d6ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Mar 2011 07:56:29 +0000 Subject: clear some c++ warnings. --- intern/itasc/Scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/itasc/Scene.cpp') diff --git a/intern/itasc/Scene.cpp b/intern/itasc/Scene.cpp index d46e4da7900..0c5e00ec56f 100644 --- a/intern/itasc/Scene.cpp +++ b/intern/itasc/Scene.cpp @@ -292,7 +292,7 @@ bool Scene::update(double timestamp, double timestep, unsigned int numsubstep, b return true; } - double maxqdot; + // double maxqdot; // UNUSED e_scalar nlcoef; SceneLock lockCallback(this); Frame external_pose; @@ -454,7 +454,7 @@ bool Scene::update(double timestamp, double timestep, unsigned int numsubstep, b // We will pass the joint velocity to each object and they will recommend a maximum timestep timesubstep = timeleft; // get armature max joint velocity to estimate the maximum duration of integration - maxqdot = m_qdot.cwise().abs().maxCoeff(); + // maxqdot = m_qdot.cwise().abs().maxCoeff(); // UNUSED double maxsubstep = nlcoef*m_maxstep; if (maxsubstep < m_minstep) maxsubstep = m_minstep; -- cgit v1.2.3