summaryrefslogtreecommitdiff
path: root/core/string/optimized_translation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/string/optimized_translation.cpp')
-rw-r--r--core/string/optimized_translation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/string/optimized_translation.cpp b/core/string/optimized_translation.cpp
index 07b58f2418..93429744fc 100644
--- a/core/string/optimized_translation.cpp
+++ b/core/string/optimized_translation.cpp
@@ -37,9 +37,9 @@ extern "C" {
}
struct CompressedString {
- int orig_len;
+ int orig_len = 0;
CharString compressed;
- int offset;
+ int offset = 0;
};
void OptimizedTranslation::generate(const Ref<Translation> &p_from) {