From 317037a31eaa1d2e96226ee5e342b912967ded06 Mon Sep 17 00:00:00 2001 From: Blyron <53337103+Blyron@users.noreply.github.com> Date: Fri, 31 May 2024 09:42:30 +0200 Subject: [PATCH] Removing useless code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Xavier Solé Nogués --- LibCarla/source/carla/road/MeshFactory.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/LibCarla/source/carla/road/MeshFactory.cpp b/LibCarla/source/carla/road/MeshFactory.cpp index 92627a79c..b01828915 100644 --- a/LibCarla/source/carla/road/MeshFactory.cpp +++ b/LibCarla/source/carla/road/MeshFactory.cpp @@ -763,10 +763,6 @@ std::map>> MeshFactory: outinfo.push_back("white"); break; } - default: - { - break; - } } } else { if(lane.second.GetType() == road::Lane::LaneType::None ){ @@ -1179,19 +1175,16 @@ std::map>> MeshFactory: case road::Lane::LaneType::Bidirectional: { return default_num_vertices; - break; } case road::Lane::LaneType::Shoulder: case road::Lane::LaneType::Sidewalk: case road::Lane::LaneType::Biking: { return 6; - break; } default: { return 2; - break; } } }