mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
Clang: don't shadow local variable names
This commit is contained in:
parent
764fb742ba
commit
463615a1c0
1 changed files with 4 additions and 4 deletions
|
@ -219,14 +219,14 @@ ModuleManager::loadModules()
|
||||||
}
|
}
|
||||||
|
|
||||||
auto findCustomInstance =
|
auto findCustomInstance =
|
||||||
[ customInstances ]( const QString& moduleName,
|
[ customInstances ]( const QString& module,
|
||||||
const QString& instanceId ) -> int
|
const QString& id) -> int
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < customInstances.count(); ++i )
|
for ( int i = 0; i < customInstances.count(); ++i )
|
||||||
{
|
{
|
||||||
auto thisInstance = customInstances[ i ];
|
auto thisInstance = customInstances[ i ];
|
||||||
if ( thisInstance.value( "module" ) == moduleName &&
|
if ( thisInstance.value( "module" ) == module &&
|
||||||
thisInstance.value( "id" ) == instanceId )
|
thisInstance.value( "id" ) == id )
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue