Get rid of some warnings, mainly unused parameters/variables.

Thanks sparkprime for the patch, see http://code.google.com/p/bullet/issues/detail?id=330
This commit is contained in:
erwin.coumans
2010-01-19 06:10:27 +00:00
parent 086f80b206
commit 4280f54ccf
9 changed files with 35 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ ATTRIBUTE_ALIGNED16 (struct) btSolverBody
void writebackVelocity(btScalar timeStep)
{
(void) timeStep;
if (m_originalBody)
{
m_originalBody->setLinearVelocity(m_originalBody->getLinearVelocity()+ m_deltaLinearVelocity);

View File

@@ -104,6 +104,10 @@ public:
///internal method used by the constraint solver, don't use them directly
virtual void setupSolverConstraint(btConstraintArray& ca, int solverBodyA,int solverBodyB, btScalar timeStep)
{
(void)ca;
(void)solverBodyA;
(void)solverBodyB;
(void)timeStep;
}
///internal method used by the constraint solver, don't use them directly