You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user