diff options
| author | Rémi Verschelde | 2016-07-08 00:32:28 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-08 16:47:55 +0200 |
| commit | f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (patch) | |
| tree | ef86e39ca4ee986c5ca2888dc96cdfa145a6c2ce /core/io/translation_loader_po.cpp | |
| parent | d8c31e0e7480906ccf230892b090e3c3cbe1b271 (diff) | |
| download | godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.gz godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.zst godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.zip | |
Diffstat (limited to 'core/io/translation_loader_po.cpp')
| -rw-r--r-- | core/io/translation_loader_po.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/io/translation_loader_po.cpp b/core/io/translation_loader_po.cpp index 4ddb276a2..a22c57b94 100644 --- a/core/io/translation_loader_po.cpp +++ b/core/io/translation_loader_po.cpp @@ -47,7 +47,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S String msg_id; String msg_str; String config; - int msg_line=0; if (r_error) *r_error=ERR_FILE_CORRUPT; @@ -97,7 +96,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S status=STATUS_READING_ID; msg_id=""; msg_str=""; - msg_line=line; } if (l.begins_with("msgstr")) { @@ -111,7 +109,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S l=l.substr(6,l.length()).strip_edges(); status=STATUS_READING_STRING; - msg_line=line; } if (l=="" || l.begins_with("#")) { |
