From 2d9ef3412a719e007c200cfd04952e32e57b4eb1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 10 Nov 2016 20:19:53 -0500 Subject: [PATCH] GCAdapterConfigDiag: Mark OnUpdateAdapter parameter as unused. --- Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp | 2 +- Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp b/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp index cbafae1364..9cf3110e09 100644 --- a/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp +++ b/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp @@ -69,7 +69,7 @@ void GCAdapterConfigDiag::ScheduleAdapterUpdate() wxQueueEvent(this, new wxCommandEvent(wxEVT_ADAPTER_UPDATE)); } -void GCAdapterConfigDiag::OnUpdateAdapter(wxCommandEvent& ev) +void GCAdapterConfigDiag::OnUpdateAdapter(wxCommandEvent& WXUNUSED(event)) { bool unpause = Core::PauseAndLock(true); if (GCAdapter::IsDetected()) diff --git a/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h b/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h index f572cfb339..a52b0e4634 100644 --- a/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h +++ b/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h @@ -17,7 +17,7 @@ public: private: void ScheduleAdapterUpdate(); - void OnUpdateAdapter(wxCommandEvent& ev); + void OnUpdateAdapter(wxCommandEvent& event); void OnAdapterRumble(wxCommandEvent& event); void OnAdapterKonga(wxCommandEvent& event);