summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/class_db.cpp1
-rw-r--r--core/math/expression.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp
index 50c924bdd2..899b4e9cef 100644
--- a/core/class_db.cpp
+++ b/core/class_db.cpp
@@ -261,6 +261,7 @@ HashMap<StringName, StringName> ClassDB::compat_classes;
ClassDB::ClassInfo::ClassInfo() {
api = API_NONE;
+ class_ptr = nullptr;
creation_func = NULL;
inherits_ptr = NULL;
disabled = false;
diff --git a/core/math/expression.cpp b/core/math/expression.cpp
index 04fda9d09a..4ae9e09a46 100644
--- a/core/math/expression.cpp
+++ b/core/math/expression.cpp
@@ -2215,6 +2215,8 @@ Expression::Expression() :
root(NULL),
nodes(NULL),
execution_error(false) {
+ str_ofs = 0;
+ expression_dirty = false;
}
Expression::~Expression() {