Pcbnew: fix shadow variable in expression evaluator.
This commit is contained in:
parent
f952434aee
commit
5ca25a609e
|
@ -206,10 +206,10 @@ static void insideCourtyard( LIBEVAL::CONTEXT* aCtx, void* self )
|
||||||
if( i != board->m_InsideCourtyardCache.end() )
|
if( i != board->m_InsideCourtyardCache.end() )
|
||||||
return i->second;
|
return i->second;
|
||||||
|
|
||||||
bool result = realInsideFootprint( footprint );
|
bool insideFootprint = realInsideFootprint( footprint );
|
||||||
|
|
||||||
board->m_InsideCourtyardCache[ key ] = result;
|
board->m_InsideCourtyardCache[ key ] = result;
|
||||||
return result;
|
return insideFootprint;
|
||||||
};
|
};
|
||||||
|
|
||||||
if( arg->AsString() == "A" )
|
if( arg->AsString() == "A" )
|
||||||
|
|
Loading…
Reference in New Issue