libcalamares: drop useless variable

This commit is contained in:
Adriaan de Groot 2023-08-28 22:33:56 +02:00
parent dc666d29b8
commit 3757fcf0bf

View File

@ -87,14 +87,12 @@ Manager::Private::nam()
QMutexLocker lock( namMutex() );
auto* thread = QThread::currentThread();
int index = 0;
for ( const auto& n : m_perThreadNams )
{
if ( n.first == thread )
{
return n.second;
}
++index;
}
// Need a new NAM for this thread