summaryrefslogtreecommitdiff
path: root/platform/uwp/export
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 /platform/uwp/export
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'platform/uwp/export')
-rw-r--r--platform/uwp/export/export.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index 30568241a9..00b57c48f3 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -108,7 +108,7 @@ class AppxPackager {
struct BlockHash {
String base64_hash;
- size_t compressed_size;
+ size_t compressed_size = 0;
};
struct FileMeta {
@@ -120,12 +120,10 @@ class AppxPackager {
Vector<BlockHash> hashes;
uLong file_crc32 = 0;
ZPOS64_T zip_offset = 0;
-
- FileMeta() {}
};
String progress_task;
- FileAccess *package;
+ FileAccess *package = nullptr;
Set<String> mime_types;