mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Rename local variable to prevent shadow warning
This is probably just a false-positive from GCC, since the outer variable isn't actually in the capture list of the lambda.
This commit is contained in:
parent
04bc819f12
commit
c5d39698f2
@ -240,8 +240,8 @@ void UPDATE_MANAGER::CheckForUpdate( wxWindow* aNoticeParent )
|
|||||||
{
|
{
|
||||||
// basically saving the last received update prevents us from
|
// basically saving the last received update prevents us from
|
||||||
// prompting again
|
// prompting again
|
||||||
SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager();
|
SETTINGS_MANAGER& set_mgr = Pgm().GetSettingsManager();
|
||||||
KICAD_SETTINGS* cfg = mgr.GetAppSettings<KICAD_SETTINGS>( "kicad" );
|
KICAD_SETTINGS* cfg = set_mgr.GetAppSettings<KICAD_SETTINGS>( "kicad" );
|
||||||
cfg->m_lastReceivedUpdate = response.version;
|
cfg->m_lastReceivedUpdate = response.version;
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user