summaryrefslogtreecommitdiffstats
path: root/core/core_constants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/core_constants.cpp')
-rw-r--r--core/core_constants.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/core_constants.cpp b/core/core_constants.cpp
index 64bfff1c58..57ea10c074 100644
--- a/core/core_constants.cpp
+++ b/core/core_constants.cpp
@@ -38,10 +38,10 @@
struct _CoreConstant {
#ifdef DEBUG_METHODS_ENABLED
StringName enum_name;
- bool ignore_value_in_docs;
+ bool ignore_value_in_docs = false;
#endif
const char *name;
- int value;
+ int value = 0;
_CoreConstant() {}