diff --git a/src/tilemap_layer.cpp b/src/tilemap_layer.cpp index d371fdd18e..ae92d87c3a 100644 --- a/src/tilemap_layer.cpp +++ b/src/tilemap_layer.cpp @@ -839,7 +839,7 @@ void TilemapLayer::RecalculateAutotile(int x, int y, int tile_id) { return neighbors; }; - auto processBlock = [&](int blockType, int blockStride, int blockBase, auto isSameAutotileFn) { + auto processBlock = [&](int /*blockType*/, int blockStride, int blockBase, auto isSameAutotileFn) { uint8_t neighbors = calculateNeighbors(isSameAutotileFn); int block = (tile_id - blockBase) / blockStride; int variant = AUTOTILE_D_VARIANTS_MAP.at(neighbors);