Fix unused variable warnings

This commit is contained in:
Maciej Suminski 2018-10-04 11:30:41 +02:00
parent 606096b548
commit d599a02a90
1 changed files with 0 additions and 2 deletions

View File

@ -695,7 +695,6 @@ LSEQ PANEL_SETUP_LAYERS::getRemovedLayersWithItems()
PCB_LAYER_COLLECTOR collector; PCB_LAYER_COLLECTOR collector;
LSEQ newLayerSeq = newLayers.Seq(); LSEQ newLayerSeq = newLayers.Seq();
std::vector< PCB_LAYER_ID >::iterator it;
for( auto layer_id : curLayers.Seq() ) for( auto layer_id : curLayers.Seq() )
{ {
@ -725,7 +724,6 @@ LSEQ PANEL_SETUP_LAYERS::getNonRemovableLayers()
PCB_LAYER_COLLECTOR collector; PCB_LAYER_COLLECTOR collector;
LSEQ newLayerSeq = newLayers.Seq(); LSEQ newLayerSeq = newLayers.Seq();
std::vector< PCB_LAYER_ID >::iterator it;
for( auto layer_id : curLayers.Seq() ) for( auto layer_id : curLayers.Seq() )
{ {