Minor compile warning cleanup
This commit is contained in:
parent
a4808e0420
commit
e7c07501c5
|
@ -730,8 +730,6 @@ void TREE_PROJECT_FRAME::OnExpand( wxTreeEvent& Event )
|
||||||
wxTreeItemIdValue cookie;
|
wxTreeItemIdValue cookie;
|
||||||
wxTreeItemId kid = m_TreeProject->GetFirstChild( itemId, cookie );
|
wxTreeItemId kid = m_TreeProject->GetFirstChild( itemId, cookie );
|
||||||
|
|
||||||
bool subdir_populated = false;
|
|
||||||
|
|
||||||
for( ; kid.IsOk(); kid = m_TreeProject->GetNextChild( itemId, cookie ) )
|
for( ; kid.IsOk(); kid = m_TreeProject->GetNextChild( itemId, cookie ) )
|
||||||
{
|
{
|
||||||
TREEPROJECT_ITEM* itemData = GetItemIdData( kid );
|
TREEPROJECT_ITEM* itemData = GetItemIdData( kid );
|
||||||
|
@ -759,7 +757,6 @@ void TREE_PROJECT_FRAME::OnExpand( wxTreeEvent& Event )
|
||||||
}
|
}
|
||||||
|
|
||||||
itemData->SetPopulated( true ); // set state to populated
|
itemData->SetPopulated( true ); // set state to populated
|
||||||
subdir_populated = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sort filenames by alphabetic order
|
// Sort filenames by alphabetic order
|
||||||
|
|
|
@ -745,7 +745,6 @@ SHOVE::SHOVE_STATUS SHOVE::pushOrShoveVia( VIA* aVia, const VECTOR2I& aForce, in
|
||||||
*/
|
*/
|
||||||
SHOVE::SHOVE_STATUS SHOVE::onCollidingVia( ITEM* aCurrent, VIA* aObstacleVia )
|
SHOVE::SHOVE_STATUS SHOVE::onCollidingVia( ITEM* aCurrent, VIA* aObstacleVia )
|
||||||
{
|
{
|
||||||
RULE_RESOLVER* rr = m_currentNode->GetRuleResolver();
|
|
||||||
int clearance = getClearance( aCurrent, aObstacleVia ) ;
|
int clearance = getClearance( aCurrent, aObstacleVia ) ;
|
||||||
LINE_PAIR_VEC draggedLines;
|
LINE_PAIR_VEC draggedLines;
|
||||||
bool lineCollision = false;
|
bool lineCollision = false;
|
||||||
|
|
Loading…
Reference in New Issue