diff options
author | Surak <surak@zniper.org> | 2022-04-22 20:13:25 +0300 |
---|---|---|
committer | Surak <surak@zniper.org> | 2022-04-22 20:13:25 +0300 |
commit | 209ed3cc0d5e6bda296178d23dfbab19b4e89c84 (patch) | |
tree | 29b9c40aa1d4905efd5d2b7c0325d395f44da4dd | |
parent | 60774d43de1c4541445bd77da0de9d680964d752 (diff) |
Remove unreachable code (S1763)
-rw-r--r-- | Source/Editors/entity_type.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Source/Editors/entity_type.cpp b/Source/Editors/entity_type.cpp index 2148ae91..f3abb732 100644 --- a/Source/Editors/entity_type.cpp +++ b/Source/Editors/entity_type.cpp @@ -25,29 +25,29 @@ const char* CStringFromEntityType(EntityType type) { switch(type){ - case _any_type: return "_any_type"; break; - case _no_type: return "_no_type"; break; - case _camera_type: return "_camera_type"; break; - case _terrain_type: return "_terrain_type"; break; - case _env_object: return "_env_object"; break; - case _movement_object: return "_movement_object"; break; - case _spawn_point: return "_spawn_point"; break; - case _decal_object: return "_decal_object"; break; - case _hotspot_object: return "_hotspot_object"; break; - case _group: return "_editable_entity_group"; break; - case _prefab: return "_prefab"; break; - case _rigged_object: return "_rigged_object"; break; - case _item_object: return "_item_object"; break; - case _path_point_object: return "_path_point_object"; break; - case _ambient_sound_object: return "_ambient_sound_object"; break; - case _placeholder_object: return "_placeholder_object"; break; - case _light_probe_object: return "_light_probe_object"; break; - case _dynamic_light_object: return "_dynamic_light_object"; break; - case _navmesh_hint_object: return "_navmesh_hint_object"; break; - case _navmesh_region_object: return "_navmesh_region_object"; break; - case _navmesh_connection_object: return "_navmesh_connection_object"; break; - case _reflection_capture_object: return "_reflection_capture_object"; break; - case _light_volume_object: return "_light_volume_object"; break; - default: return "unknown type"; break; + case _any_type: return "_any_type"; + case _no_type: return "_no_type"; + case _camera_type: return "_camera_type"; + case _terrain_type: return "_terrain_type"; + case _env_object: return "_env_object"; + case _movement_object: return "_movement_object"; + case _spawn_point: return "_spawn_point"; + case _decal_object: return "_decal_object"; + case _hotspot_object: return "_hotspot_object"; + case _group: return "_editable_entity_group"; + case _prefab: return "_prefab"; + case _rigged_object: return "_rigged_object"; + case _item_object: return "_item_object"; + case _path_point_object: return "_path_point_object"; + case _ambient_sound_object: return "_ambient_sound_object"; + case _placeholder_object: return "_placeholder_object"; + case _light_probe_object: return "_light_probe_object"; + case _dynamic_light_object: return "_dynamic_light_object"; + case _navmesh_hint_object: return "_navmesh_hint_object"; + case _navmesh_region_object: return "_navmesh_region_object"; + case _navmesh_connection_object: return "_navmesh_connection_object"; + case _reflection_capture_object: return "_reflection_capture_object"; + case _light_volume_object: return "_light_volume_object"; + default: return "unknown type"; } } |