1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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

This commit is contained in:
Rémi Verschelde
2021-08-18 10:36:09 +02:00
parent b778c5caa3
commit 74d569b99e
8 changed files with 29 additions and 29 deletions

View File

@@ -1020,7 +1020,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;
uint64_t total = 0;
{
@@ -1052,6 +1054,7 @@ void _OS::print_all_textures_by_size() {
total -= E->get().vram;
}
*/
}
void _OS::print_resources_by_type(const Vector<String> &p_types) {