summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2020-11-24 10:12:55 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2020-12-02 16:09:11 +0100
commite1811b689b6854668ca690831df8603820b68573 (patch)
treeb13641bf9a704ec71f8ac90f3dd8d41a1174ae04 /editor/filesystem_dock.h
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
downloadredot-engine-e1811b689b6854668ca690831df8603820b68573.tar.gz
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index 1db1485426..c01d58dfbb 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -270,8 +270,8 @@ private:
String path;
StringName type;
Vector<String> sources;
- bool import_broken;
- uint64_t modified_time;
+ bool import_broken = false;
+ uint64_t modified_time = 0;
bool operator<(const FileInfo &fi) const {
return NaturalNoCaseComparator()(name, fi.name);