1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Merge pull request #30126 from qarmin/remove_unnecessary_code

Remove unnecessary code and add some error explanations
This commit is contained in:
Rémi Verschelde
2019-07-01 14:32:04 +02:00
committed by GitHub
48 changed files with 149 additions and 187 deletions

View File

@@ -43,8 +43,6 @@ String DirAccess::_get_root_path() const {
case ACCESS_USERDATA: return OS::get_singleton()->get_user_data_dir();
default: return "";
}
return "";
}
String DirAccess::_get_root_string() const {
@@ -54,8 +52,6 @@ String DirAccess::_get_root_string() const {
case ACCESS_USERDATA: return "user://";
default: return "";
}
return "";
}
int DirAccess::get_current_drive() {