You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.
(cherry picked from commit d8935b27a9)
18 lines
570 B
Diff
18 lines
570 B
Diff
diff --git a/thirdparty/bullet/BulletSoftBody/btSparseSDF.h b/thirdparty/bullet/BulletSoftBody/btSparseSDF.h
|
|
index ae1288d9e6..243b80f8ae 100644
|
|
--- a/thirdparty/bullet/BulletSoftBody/btSparseSDF.h
|
|
+++ b/thirdparty/bullet/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();
|
|
}
|
|
|