From e1811b689b6854668ca690831df8603820b68573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Tue, 24 Nov 2020 10:12:55 +0100 Subject: Initialize class/struct variables with default values in platform/ and editor/ --- editor/fileserver/editor_file_server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editor/fileserver') diff --git a/editor/fileserver/editor_file_server.h b/editor/fileserver/editor_file_server.h index ca5a891856..6d3c0d0d47 100644 --- a/editor/fileserver/editor_file_server.h +++ b/editor/fileserver/editor_file_server.h @@ -47,11 +47,11 @@ class EditorFileServer : public Object { }; struct ClientData { - Thread *thread; + Thread *thread = nullptr; Ref connection; Map files; - EditorFileServer *efs; - bool quit; + EditorFileServer *efs = nullptr; + bool quit = false; }; Ref server; -- cgit v1.2.3