diff --git a/pcbnew/router/pns_shove.cpp b/pcbnew/router/pns_shove.cpp index f13983dc9f..a2f513567d 100644 --- a/pcbnew/router/pns_shove.cpp +++ b/pcbnew/router/pns_shove.cpp @@ -152,7 +152,6 @@ PNS_SHOVE::SHOVE_STATUS PNS_SHOVE::processHullSet( PNS_LINE& aCurrent, PNS_LINE& { const SHAPE_LINE_CHAIN& obs = aObstacle.CLine(); - bool failingDirCheck = false; int attempt; for( attempt = 0; attempt < 4; attempt++ ) @@ -207,7 +206,6 @@ PNS_SHOVE::SHOVE_STATUS PNS_SHOVE::processHullSet( PNS_LINE& aCurrent, PNS_LINE& if( !checkBumpDirection( aCurrent, l ) ) { TRACE( 100, "attempt %d fail direction-check", attempt ); - failingDirCheck = true; aShoved.SetShape( l.CLine() ); continue;