From 76b9e251430912b847d8b4b6aa733b8fd890c931 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 2 Aug 2022 08:33:48 -0700 Subject: [PATCH] Cleanup unused code --- pcbnew/router/pns_meander_placer_base.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pcbnew/router/pns_meander_placer_base.cpp b/pcbnew/router/pns_meander_placer_base.cpp index 381c72fd2e..7c51085eff 100644 --- a/pcbnew/router/pns_meander_placer_base.cpp +++ b/pcbnew/router/pns_meander_placer_base.cpp @@ -293,16 +293,7 @@ long long int MEANDER_PLACER_BASE::lineLength( const ITEM_SET& aLine, const SOLI const ITEM* end_item = aLine[aLine.Size() - 1]; bool start_via = false; bool end_via = false; - int start_layer = -1; - int end_layer = -1; - std::set layer_set; - - for( int idx = 0; idx < aLine.Size(); idx++ ) - { - const ITEM* item = aLine[idx]; - layer_set.insert( item->Layer() ); - } /** * If there is a start pad but the pad's layers do not overlap the first track layer, then there must be a