Remove unused variables.
This commit is contained in:
parent
b938064e29
commit
751aef4e23
|
@ -468,7 +468,7 @@ public:
|
||||||
{
|
{
|
||||||
param = std::any_cast<T>( m_param );
|
param = std::any_cast<T>( m_param );
|
||||||
}
|
}
|
||||||
catch( const std::bad_any_cast& e )
|
catch( const std::bad_any_cast& )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( false, T(),
|
wxCHECK_MSG( false, T(),
|
||||||
wxString::Format( "Requested parameter type %s from event with parameter type %s.",
|
wxString::Format( "Requested parameter type %s from event with parameter type %s.",
|
||||||
|
@ -493,7 +493,7 @@ public:
|
||||||
{
|
{
|
||||||
param = std::any_cast<T>( m_param );
|
param = std::any_cast<T>( m_param );
|
||||||
}
|
}
|
||||||
catch( const std::bad_any_cast& e )
|
catch( const std::bad_any_cast& )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( false, param,
|
wxCHECK_MSG( false, param,
|
||||||
wxString::Format( "Requested parameter type %s from event with parameter type %s.",
|
wxString::Format( "Requested parameter type %s from event with parameter type %s.",
|
||||||
|
|
Loading…
Reference in New Issue