summaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_server_2d_sw.cpp
diff options
context:
space:
mode:
authorCamille Mohr-Daurat <pouleyKetchoup@gmail.com>2021-09-16 09:06:03 -0700
committerGitHub <noreply@github.com>2021-09-16 09:06:03 -0700
commit062cff373ad15b6643dd9bb5a77834ccdd65c2fc (patch)
tree98c40926bb00ae7a8cd49b0dc1f3cf129b954fa9 /servers/physics_2d/physics_server_2d_sw.cpp
parent104a6191fd32ca7bd28b28df6de091652c3d92cd (diff)
parent91257c39000517dd5644caf0e02a7bc6cd4574a9 (diff)
Merge pull request #52668 from qarmin/cppcheck_servers_physics
Initialize variables in servers/physics
Diffstat (limited to 'servers/physics_2d/physics_server_2d_sw.cpp')
-rw-r--r--servers/physics_2d/physics_server_2d_sw.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/servers/physics_2d/physics_server_2d_sw.cpp b/servers/physics_2d/physics_server_2d_sw.cpp
index edac8aef8d..e052258a92 100644
--- a/servers/physics_2d/physics_server_2d_sw.cpp
+++ b/servers/physics_2d/physics_server_2d_sw.cpp
@@ -1357,10 +1357,5 @@ PhysicsServer2DSW::PhysicsServer2DSW(bool p_using_threads) {
singletonsw = this;
BroadPhase2DSW::create_func = BroadPhase2DBVH::_create;
- active = true;
- island_count = 0;
- active_objects = 0;
- collision_pairs = 0;
using_threads = p_using_threads;
- flushing_queries = false;
};