Removed set-but-unused failingDirCheck variable

This commit is contained in:
Michael Beardsworth 2015-08-26 17:52:56 +02:00 committed by Maciej Suminski
parent 33dd214b4f
commit 2e4136720d
1 changed files with 0 additions and 2 deletions

View File

@ -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;