CI: Sync configuration with 4.4 branch

Includes cherry-picks of warning fixes from a44f691fc7
and 8d1462c748.
This commit is contained in:
Rémi Verschelde
2025-04-24 18:14:03 +02:00
parent d2dfab1fef
commit e6522a4e1c
26 changed files with 256 additions and 244 deletions

View File

@@ -75,7 +75,8 @@ void TileMap::_set_tile_map_data_using_compatibility_format(int p_layer, TileMap
for (int i = 0; i < c; i += offset) {
const uint8_t *ptr = (const uint8_t *)&r[i];
uint8_t local[12];
for (int j = 0; j < ((p_format >= TileMapDataFormat::TILE_MAP_DATA_FORMAT_2) ? 12 : 8); j++) {
const int buffer_size = (p_format >= TileMapDataFormat::TILE_MAP_DATA_FORMAT_2) ? 12 : 8;
for (int j = 0; j < buffer_size; j++) {
local[j] = ptr[j];
}