From 751aef4e23f3eef9aa5c3e6c3d43faf66b120507 Mon Sep 17 00:00:00 2001 From: Kuba Sunderland-Ober Date: Tue, 27 Jun 2023 10:24:32 -0400 Subject: [PATCH] Remove unused variables. --- include/tool/tool_event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tool/tool_event.h b/include/tool/tool_event.h index 4a3e5f1eef..57f361fee3 100644 --- a/include/tool/tool_event.h +++ b/include/tool/tool_event.h @@ -468,7 +468,7 @@ public: { param = std::any_cast( m_param ); } - catch( const std::bad_any_cast& e ) + catch( const std::bad_any_cast& ) { wxCHECK_MSG( false, T(), wxString::Format( "Requested parameter type %s from event with parameter type %s.", @@ -493,7 +493,7 @@ public: { param = std::any_cast( m_param ); } - catch( const std::bad_any_cast& e ) + catch( const std::bad_any_cast& ) { wxCHECK_MSG( false, param, wxString::Format( "Requested parameter type %s from event with parameter type %s.",