summaryrefslogtreecommitdiffstats
path: root/core/io/dir_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/dir_access.h')
-rw-r--r--core/io/dir_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/dir_access.h b/core/io/dir_access.h
index 8154f5366c..d63453e947 100644
--- a/core/io/dir_access.h
+++ b/core/io/dir_access.h
@@ -134,7 +134,7 @@ struct DirAccessRef {
operator bool() const { return f != nullptr; }
- DirAccess *f;
+ DirAccess *f = nullptr;
DirAccessRef(DirAccess *fa) { f = fa; }
~DirAccessRef() {