1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Fix various Clang -Wunused-but-set-variable warnings

(cherry picked from commit 74d569b99e)
This commit is contained in:
Rémi Verschelde
2021-08-18 10:36:09 +02:00
parent 87be97b4aa
commit 172dd99fb2
8 changed files with 29 additions and 29 deletions

View File

@@ -999,7 +999,9 @@ struct _OSCoreBindImg {
};
void _OS::print_all_textures_by_size() {
// HACK: This is broken, was fixed in 3.4+, we don't bother here.
// Just comment out to silence warnings.
/*
List<_OSCoreBindImg> imgs;
int total = 0;
{
@@ -1031,6 +1033,7 @@ void _OS::print_all_textures_by_size() {
total -= E->get().vram;
}
*/
}
void _OS::print_resources_by_type(const Vector<String> &p_types) {