aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_format_xml.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-07-08 00:32:28 +0200
committerRémi Verschelde2016-07-08 16:47:55 +0200
commitf40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (patch)
treeef86e39ca4ee986c5ca2888dc96cdfa145a6c2ce /core/io/resource_format_xml.cpp
parentd8c31e0e7480906ccf230892b090e3c3cbe1b271 (diff)
downloadgodot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.gz
godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.zst
godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.zip
Diffstat (limited to 'core/io/resource_format_xml.cpp')
-rw-r--r--core/io/resource_format_xml.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index a42a922ba..0d545b16f 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -1862,8 +1862,6 @@ void ResourceInteractiveLoaderXML::open(FileAccess *p_f) {
}
int major = version.get_slicec('.',0).to_int();
- int minor = version.get_slicec('.',1).to_int();
-
if (major>VERSION_MAJOR) {
error=ERR_FILE_UNRECOGNIZED;