Initialize class/struct variables with default values in platform/ and editor/

This commit is contained in:
Rafał Mikrut 2020-11-24 10:12:55 +01:00
parent d1231be1c8
commit e1811b689b
87 changed files with 411 additions and 540 deletions

View file

@ -47,11 +47,11 @@ class EditorFileServer : public Object {
};
struct ClientData {
Thread *thread;
Thread *thread = nullptr;
Ref<StreamPeerTCP> connection;
Map<int, FileAccess *> files;
EditorFileServer *efs;
bool quit;
EditorFileServer *efs = nullptr;
bool quit = false;
};
Ref<TCP_Server> server;