summaryrefslogtreecommitdiff
path: root/core/io/translation_loader_po.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-02 10:40:12 +0200
committerGitHub <noreply@github.com>2017-09-02 10:40:12 +0200
commit437fb12e1aa3135dc7fa336bd0a53036be649ce8 (patch)
treedf8288d031d4fdf06de7f8f717cb2eafd1c2854f /core/io/translation_loader_po.cpp
parentded74dedefcb03fee1079d33f9688c2e401ea00e (diff)
parent9c63ab99f0a505b0f60079bb30cc453b4415fddc (diff)
Merge pull request #10877 from hpvb/fix-unitialized-variables
Fix use of unitialized variables
Diffstat (limited to 'core/io/translation_loader_po.cpp')
-rw-r--r--core/io/translation_loader_po.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/translation_loader_po.cpp b/core/io/translation_loader_po.cpp
index 353eabea45..92af247823 100644
--- a/core/io/translation_loader_po.cpp
+++ b/core/io/translation_loader_po.cpp
@@ -51,8 +51,8 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S
Ref<Translation> translation = Ref<Translation>(memnew(Translation));
int line = 1;
- bool skip_this;
- bool skip_next;
+ bool skip_this = false;
+ bool skip_next = false;
while (true) {