libcalamares: don't name unused parameters
This commit is contained in:
parent
f24df7ccc9
commit
5d1b94a708
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user