1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.

(cherry picked from commit 9f0c6a6009)
This commit is contained in:
hbina085
2019-06-28 23:09:59 -04:00
committed by Rémi Verschelde
parent fc18d637a8
commit 8c2e10c393
5 changed files with 16 additions and 10 deletions

View File

@@ -61,8 +61,8 @@ void TileMapEditor::_notification(int p_what) {
if (is_visible_in_tree()) {
_update_palette();
}
} // fallthrough
FALLTHROUGH;
}
case NOTIFICATION_ENTER_TREE: {