Fix a minor compil warning
This commit is contained in:
parent
3b18fa84bf
commit
09a1137f11
|
@ -1381,9 +1381,9 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadShapeVertices( const std::vector<VERTEX>& a
|
|||
wxASSERT_MSG(
|
||||
prev->Type == VERTEX_TYPE::POINT, "First vertex should always be a point vertex" );
|
||||
|
||||
for( size_t i = 1; i < aCadstarVertices.size(); i++ )
|
||||
for( size_t ii = 1; ii < aCadstarVertices.size(); ii++ )
|
||||
{
|
||||
cur = &aCadstarVertices.at( i );
|
||||
cur = &aCadstarVertices.at( ii );
|
||||
|
||||
wxPoint startPoint = getKiCadPoint( prev->End );
|
||||
wxPoint endPoint = getKiCadPoint( cur->End );
|
||||
|
@ -1419,10 +1419,10 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadShapeVertices( const std::vector<VERTEX>& a
|
|||
|
||||
// Load the arc as a series of piece-wise segments
|
||||
|
||||
for( int i = 0; i < arcSegments.SegmentCount(); i++ )
|
||||
for( int jj = 0; jj < arcSegments.SegmentCount(); jj++ )
|
||||
{
|
||||
wxPoint segStart = (wxPoint) arcSegments.Segment( i ).A;
|
||||
wxPoint segEnd = (wxPoint) arcSegments.Segment( i ).B;
|
||||
wxPoint segStart = (wxPoint) arcSegments.Segment( jj ).A;
|
||||
wxPoint segEnd = (wxPoint) arcSegments.Segment( jj ).B;
|
||||
|
||||
loadGraphicStaightSegment( segStart, segEnd, aCadstarLineCodeID,
|
||||
aCadstarSheetID, aKiCadSchLayerID, aMoveVector, aRotationAngleDeciDeg,
|
||||
|
|
Loading…
Reference in New Issue