Pcbnew: fix shadow variable in expression evaluator.

This commit is contained in:
Wayne Stambaugh 2021-02-27 12:09:06 -05:00
parent f952434aee
commit 5ca25a609e
1 changed files with 2 additions and 2 deletions

View File

@ -206,10 +206,10 @@ static void insideCourtyard( LIBEVAL::CONTEXT* aCtx, void* self )
if( i != board->m_InsideCourtyardCache.end() )
return i->second;
bool result = realInsideFootprint( footprint );
bool insideFootprint = realInsideFootprint( footprint );
board->m_InsideCourtyardCache[ key ] = result;
return result;
return insideFootprint;
};
if( arg->AsString() == "A" )