Removed set-but-unused failingDirCheck variable
This commit is contained in:
parent
33dd214b4f
commit
2e4136720d
|
@ -152,7 +152,6 @@ PNS_SHOVE::SHOVE_STATUS PNS_SHOVE::processHullSet( PNS_LINE& aCurrent, PNS_LINE&
|
||||||
{
|
{
|
||||||
const SHAPE_LINE_CHAIN& obs = aObstacle.CLine();
|
const SHAPE_LINE_CHAIN& obs = aObstacle.CLine();
|
||||||
|
|
||||||
bool failingDirCheck = false;
|
|
||||||
int attempt;
|
int attempt;
|
||||||
|
|
||||||
for( attempt = 0; attempt < 4; 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 ) )
|
if( !checkBumpDirection( aCurrent, l ) )
|
||||||
{
|
{
|
||||||
TRACE( 100, "attempt %d fail direction-check", attempt );
|
TRACE( 100, "attempt %d fail direction-check", attempt );
|
||||||
failingDirCheck = true;
|
|
||||||
aShoved.SetShape( l.CLine() );
|
aShoved.SetShape( l.CLine() );
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue