mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 00:21:31 +00:00
fix a compil warning (shadowed var).
This commit is contained in:
parent
9fdadcbcf5
commit
f38631b9ab
@ -148,11 +148,11 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin
|
||||
|
||||
if( !templateFieldNames.IsEmpty() )
|
||||
{
|
||||
TEMPLATE_FIELDNAMES_LEXER lexer( TO_UTF8( templateFieldNames ) );
|
||||
TEMPLATE_FIELDNAMES_LEXER field_lexer( TO_UTF8( templateFieldNames ) );
|
||||
|
||||
try
|
||||
{
|
||||
m_TemplateFieldNames.Parse( &lexer, true );
|
||||
m_TemplateFieldNames.Parse( &field_lexer, true );
|
||||
}
|
||||
catch( const IO_ERROR& )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user