Fix code style issues

This commit is contained in:
Rémi Verschelde 2019-01-26 22:35:31 +01:00
parent 16fa788510
commit c3b0ee5941
9 changed files with 20 additions and 26 deletions

View file

@ -223,7 +223,6 @@ public:
virtual String get_filesystem_type() const; virtual String get_filesystem_type() const;
DirAccessPack(); DirAccessPack();
~DirAccessPack(); ~DirAccessPack();
}; };

View file

@ -342,7 +342,7 @@ Error ResourceInteractiveLoaderBinary::parse_variant(Variant &r_v) {
int erindex = f->get_32(); int erindex = f->get_32();
if (erindex < 0 || erindex >= external_resources.size()) { if (erindex < 0 || erindex >= external_resources.size()) {
WARN_PRINT("Broken external resource! (index out of size"); WARN_PRINT("Broken external resource! (index out of size)");
r_v = Variant(); r_v = Variant();
} else { } else {

View file

@ -84,7 +84,6 @@ public:
virtual String get_filesystem_type() const; virtual String get_filesystem_type() const;
DirAccessUnix(); DirAccessUnix();
~DirAccessUnix(); ~DirAccessUnix();
}; };

View file

@ -84,7 +84,6 @@ public:
virtual String get_filesystem_type() const; virtual String get_filesystem_type() const;
DirAccessWindows(); DirAccessWindows();
~DirAccessWindows(); ~DirAccessWindows();
}; };

View file

@ -1815,8 +1815,6 @@ EditorFileSystem::EditorFileSystem() {
scan_total = 0; scan_total = 0;
update_script_classes_queued = false; update_script_classes_queued = false;
} }
EditorFileSystem::~EditorFileSystem() { EditorFileSystem::~EditorFileSystem() {

View file

@ -217,7 +217,6 @@ String DirAccessJAndroid::get_filesystem_type() const {
return "APK"; return "APK";
} }
//FileType get_file_type() const; //FileType get_file_type() const;
size_t DirAccessJAndroid::get_space_left() { size_t DirAccessJAndroid::get_space_left() {

View file

@ -686,7 +686,7 @@ bool AnimationTree::_update_caches(AnimationPlayer *player) {
} break; } break;
default: { default: {
ERR_PRINT("Animation corrupted (invalid track type"); ERR_PRINT("Animation corrupted (invalid track type)");
continue; continue;
} }
} }