diff options
author | Camille Mohr-Daurat <pouleyKetchoup@gmail.com> | 2021-09-16 09:06:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 09:06:03 -0700 |
commit | 062cff373ad15b6643dd9bb5a77834ccdd65c2fc (patch) | |
tree | 98c40926bb00ae7a8cd49b0dc1f3cf129b954fa9 /servers/physics_3d/physics_server_3d_wrap_mt.h | |
parent | 104a6191fd32ca7bd28b28df6de091652c3d92cd (diff) | |
parent | 91257c39000517dd5644caf0e02a7bc6cd4574a9 (diff) |
Merge pull request #52668 from qarmin/cppcheck_servers_physics
Initialize variables in servers/physics
Diffstat (limited to 'servers/physics_3d/physics_server_3d_wrap_mt.h')
-rw-r--r-- | servers/physics_3d/physics_server_3d_wrap_mt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_3d/physics_server_3d_wrap_mt.h b/servers/physics_3d/physics_server_3d_wrap_mt.h index d2ce06a998..a5683b99c3 100644 --- a/servers/physics_3d/physics_server_3d_wrap_mt.h +++ b/servers/physics_3d/physics_server_3d_wrap_mt.h @@ -58,7 +58,7 @@ class PhysicsServer3DWrapMT : public PhysicsServer3D { bool create_thread = false; Semaphore step_sem; - int step_pending; + int step_pending = 0; void thread_step(real_t p_delta); void thread_flush(); |