From 2e4136720dbe98facf8888f714fa4418228af49b Mon Sep 17 00:00:00 2001 From: Michael Beardsworth Date: Wed, 26 Aug 2015 17:52:56 +0200 Subject: [PATCH] Removed set-but-unused failingDirCheck variable --- pcbnew/router/pns_shove.cpp | 2 -- 1 file changed, 2 deletions(-) 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;