Remove unused variables.

This commit is contained in:
Kuba Sunderland-Ober 2023-06-27 10:24:32 -04:00 committed by Ian McInerney
parent b938064e29
commit 751aef4e23
1 changed files with 2 additions and 2 deletions

View File

@ -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.",