Merge pull request #4264 from akien-mga/fix-Wunused-but-set-variable

Fix `-Wunused-but-set-variable` in debug code
This commit is contained in:
erwincoumans 2022-05-20 12:14:30 -07:00 committed by GitHub
commit 2ad5f5a7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}