From ab6a962f595a085b2d7c7789abeb360383cceac6 Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 29 Nov 2015 07:38:14 +0100 Subject: [PATCH] Emu_window: Mark variable as unused in a handler --- src/common/emu_window.cpp | 3 +-- src/common/emu_window.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp index dd42758f0..664f89d0f 100644 --- a/src/common/emu_window.cpp +++ b/src/common/emu_window.cpp @@ -125,7 +125,6 @@ EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(u return res; } -void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair& minimal_size) { +void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair&) { // By default, ignore this request and do nothing. - (void)minimal_size; } diff --git a/src/common/emu_window.h b/src/common/emu_window.h index 1d82973fb..484867765 100644 --- a/src/common/emu_window.h +++ b/src/common/emu_window.h @@ -195,7 +195,7 @@ private: * Handler called when the minimal client area was requested to be changed via SetConfig. * For the request to be honored, EmuWindow implementations will usually reimplement this function. */ - virtual void OnMinimalClientAreaChangeRequest(const std::pair& minimal_size); + virtual void OnMinimalClientAreaChangeRequest(const std::pair&); FramebufferLayout framebuffer_layout; ///< Current framebuffer layout