Corrected debug information display call. Removed an unused variable.
This commit is contained in:
parent
94aaa47583
commit
f1e2a2c4c1
|
@ -667,12 +667,12 @@ SHOVE::SHOVE_STATUS SHOVE::pushVia( VIA* aVia, const VECTOR2I& aForce, int aCurr
|
|||
|
||||
pushedVia->SetRank( aCurrentRank - 1 );
|
||||
|
||||
replaceItems( aVia, std::move( pushedVia ) );
|
||||
|
||||
#ifdef DEBUG
|
||||
m_logger.Log( pushedVia, 1, "pushed-via" );
|
||||
m_logger.Log( pushedVia.get(), 1, "pushed-via" );
|
||||
#endif
|
||||
|
||||
replaceItems( aVia, std::move( pushedVia ) );
|
||||
|
||||
for( LINE_PAIR lp : draggedLines )
|
||||
{
|
||||
if( lp.first.Marker() & MK_HEAD )
|
||||
|
@ -1222,8 +1222,6 @@ SHOVE::SHOVE_STATUS SHOVE::ShoveMultiLines( const ITEM_SET& aHeadSet )
|
|||
if( !pushLine( head ) )
|
||||
return SH_INCOMPLETE;
|
||||
|
||||
VIA* headVia = NULL;
|
||||
|
||||
if( head.EndsWithVia() )
|
||||
{
|
||||
std::unique_ptr< VIA > headVia = Clone( head.Via() );
|
||||
|
|
Loading…
Reference in New Issue