Minor compile warning cleanup

This commit is contained in:
Seth Hillbrand 2019-09-04 20:47:52 -07:00
parent a4808e0420
commit e7c07501c5
2 changed files with 0 additions and 4 deletions

View File

@ -730,8 +730,6 @@ void TREE_PROJECT_FRAME::OnExpand( wxTreeEvent& Event )
wxTreeItemIdValue cookie;
wxTreeItemId kid = m_TreeProject->GetFirstChild( itemId, cookie );
bool subdir_populated = false;
for( ; kid.IsOk(); kid = m_TreeProject->GetNextChild( itemId, cookie ) )
{
TREEPROJECT_ITEM* itemData = GetItemIdData( kid );
@ -759,7 +757,6 @@ void TREE_PROJECT_FRAME::OnExpand( wxTreeEvent& Event )
}
itemData->SetPopulated( true ); // set state to populated
subdir_populated = true;
}
// Sort filenames by alphabetic order

View File

@ -745,7 +745,6 @@ SHOVE::SHOVE_STATUS SHOVE::pushOrShoveVia( VIA* aVia, const VECTOR2I& aForce, in
*/
SHOVE::SHOVE_STATUS SHOVE::onCollidingVia( ITEM* aCurrent, VIA* aObstacleVia )
{
RULE_RESOLVER* rr = m_currentNode->GetRuleResolver();
int clearance = getClearance( aCurrent, aObstacleVia ) ;
LINE_PAIR_VEC draggedLines;
bool lineCollision = false;