diff options
author | erwincoumans <erwin.coumans@gmail.com> | 2022-03-25 19:29:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 19:29:36 -0700 |
commit | 5d75748c0d41b7bb189b1d4a29ce8ae82cafde9e (patch) | |
tree | 667911fdb8a9a4cd72fdd447c88c14325cd56385 | |
parent | b9117c780f6c521926c59a5d62a3f3aa593d2c86 (diff) | |
parent | 35264f81bb63c4d4e5cf195e3b9db7ea6b761396 (diff) | |
download | bullet3-3.22.tar.gz |
Merge pull request #4213 from bwrsandman/fix-uwp3.22
UWP: Fix potentially uninitialized local pointer variable error
-rw-r--r-- | src/BulletSoftBody/btSoftBody.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BulletSoftBody/btSoftBody.cpp b/src/BulletSoftBody/btSoftBody.cpp index 933f3edc5..e91c1b9a4 100644 --- a/src/BulletSoftBody/btSoftBody.cpp +++ b/src/BulletSoftBody/btSoftBody.cpp @@ -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) { |