Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20

This commit is contained in:
Rémi Verschelde
2022-11-04 11:36:13 +01:00
parent 191c8ed12f
commit f475c91081
6 changed files with 1 additions and 21 deletions

View File

@@ -1045,7 +1045,6 @@ void EditorPropertyLayersGrid::_notification(int p_what) {
const int vofs = (grid_size.height - h) / 2;
int layer_index = 0;
int block_index = 0;
Point2 arrow_pos;
@@ -1112,8 +1111,6 @@ void EditorPropertyLayersGrid::_notification(int p_what) {
break;
}
}
++block_index;
}
if ((expansion_rows != prev_expansion_rows) && expanded) {