summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/file_access_memory.h')
-rw-r--r--core/io/file_access_memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/file_access_memory.h b/core/io/file_access_memory.h
index 1a9bd3fbbb..47012b4e83 100644
--- a/core/io/file_access_memory.h
+++ b/core/io/file_access_memory.h
@@ -35,8 +35,8 @@
class FileAccessMemory : public FileAccess {
uint8_t *data = nullptr;
- int length;
- mutable int pos;
+ int length = 0;
+ mutable int pos = 0;
static FileAccess *create();