UWP: Fix potentially uninitialized local pointer variable error

This commit is contained in:
Sandy Carter 2022-03-20 15:46:58 -04:00
parent ea715cc3b3
commit 35264f81bb
No known key found for this signature in database
GPG Key ID: CBEF579D87B6E212

View File

@ -3897,7 +3897,7 @@ void btSoftBody::PSolve_RContacts(btSoftBody* psb, btScalar kst, btScalar ti)
btVector3 va(0, 0, 0);
btRigidBody* rigidCol = 0;
btMultiBodyLinkCollider* multibodyLinkCol = 0;
btScalar* deltaV;
btScalar* deltaV = NULL;
if (cti.m_colObj->getInternalType() == btCollisionObject::CO_RIGID_BODY)
{