Emu_window: Mark variable as unused in a handler

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 07:38:14 +01:00 committed by Paul Dettorer Hervot
parent 9cefad91e3
commit ab6a962f59
2 changed files with 2 additions and 3 deletions

View file

@ -125,7 +125,6 @@ EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(u
return res; return res;
} }
void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) { void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>&) {
// By default, ignore this request and do nothing. // By default, ignore this request and do nothing.
(void)minimal_size;
} }

View file

@ -195,7 +195,7 @@ private:
* Handler called when the minimal client area was requested to be changed via SetConfig. * 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. * For the request to be honored, EmuWindow implementations will usually reimplement this function.
*/ */
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size); virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>&);
FramebufferLayout framebuffer_layout; ///< Current framebuffer layout FramebufferLayout framebuffer_layout; ///< Current framebuffer layout