diff options
author | erwincoumans <erwin.coumans@gmail.com> | 2022-05-20 12:14:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 12:14:30 -0700 |
commit | 2ad5f5a7d7d7019cd3fce796ff4ab2b0bca43c20 (patch) | |
tree | 7f4fef350fc2d7046164e90af6f0c76e26d7a938 | |
parent | 7dee3436e747958e7088dfdcea0e4ae031ce619e (diff) | |
parent | cc3f3cf7cadf405169f535fd361cdaa6d4b0ef87 (diff) | |
download | bullet3-2ad5f5a7d7d7019cd3fce796ff4ab2b0bca43c20.tar.gz |
Merge pull request #4264 from akien-mga/fix-Wunused-but-set-variable
Fix `-Wunused-but-set-variable` in debug code
-rw-r--r-- | src/BulletSoftBody/btSparseSDF.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BulletSoftBody/btSparseSDF.h b/src/BulletSoftBody/btSparseSDF.h index ae1288d9e..243b80f8a 100644 --- a/src/BulletSoftBody/btSparseSDF.h +++ b/src/BulletSoftBody/btSparseSDF.h @@ -233,9 +233,9 @@ struct btSparseSdf //int sz = sizeof(Cell); if (ncells > m_clampCells) { - static int numResets = 0; - numResets++; - // printf("numResets=%d\n",numResets); + //static int numResets = 0; + //numResets++; + //printf("numResets=%d\n",numResets); Reset(); } |