libcalamares: don't name unused parameters

This commit is contained in:
Adriaan de Groot 2023-10-24 22:14:26 +02:00
parent f24df7ccc9
commit 5d1b94a708

View File

@ -40,7 +40,7 @@ getPrettyNameFromScope( const py::dict& scope )
const auto s = func().cast< std::string >();
return QString::fromUtf8( s.c_str() );
}
catch ( const py::cast_error& e )
catch ( const py::cast_error& )
{
// Ignore, we will try __doc__ next
}
@ -62,7 +62,7 @@ getPrettyNameFromScope( const py::dict& scope )
}
// __doc__ is apparently empty, try next fallback
}
catch ( const py::cast_error& e )
catch ( const py::cast_error& )
{
// Ignore, try next fallback
}