libcalamares: drop useless variable
This commit is contained in:
parent
dc666d29b8
commit
3757fcf0bf
@ -87,14 +87,12 @@ Manager::Private::nam()
|
|||||||
QMutexLocker lock( namMutex() );
|
QMutexLocker lock( namMutex() );
|
||||||
|
|
||||||
auto* thread = QThread::currentThread();
|
auto* thread = QThread::currentThread();
|
||||||
int index = 0;
|
|
||||||
for ( const auto& n : m_perThreadNams )
|
for ( const auto& n : m_perThreadNams )
|
||||||
{
|
{
|
||||||
if ( n.first == thread )
|
if ( n.first == thread )
|
||||||
{
|
{
|
||||||
return n.second;
|
return n.second;
|
||||||
}
|
}
|
||||||
++index;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need a new NAM for this thread
|
// Need a new NAM for this thread
|
||||||
|
Loading…
Reference in New Issue
Block a user